forked from Minki/linux
powerpc/mm/hash: Don't open code VMALLOC_INDEX
We have a #define for it, so use it. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
f24be42aab
commit
5f8122611b
@ -131,7 +131,7 @@ static void __slb_flush_and_rebolt(void)
|
||||
"slbmte %2,%3\n"
|
||||
"isync"
|
||||
:: "r"(mk_vsid_data(VMALLOC_START, mmu_kernel_ssize, vflags)),
|
||||
"r"(mk_esid_data(VMALLOC_START, mmu_kernel_ssize, 1)),
|
||||
"r"(mk_esid_data(VMALLOC_START, mmu_kernel_ssize, VMALLOC_INDEX)),
|
||||
"r"(ksp_vsid_data),
|
||||
"r"(ksp_esid_data)
|
||||
: "memory");
|
||||
|
Loading…
Reference in New Issue
Block a user