Skip to content

Commit 5f81226

Browse files
kvaneeshmpe
authored andcommitted
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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent f24be42 commit 5f81226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/mm/slb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static void __slb_flush_and_rebolt(void)
131131
"slbmte %2,%3\n"
132132
"isync"
133133
:: "r"(mk_vsid_data(VMALLOC_START, mmu_kernel_ssize, vflags)),
134-
"r"(mk_esid_data(VMALLOC_START, mmu_kernel_ssize, 1)),
134+
"r"(mk_esid_data(VMALLOC_START, mmu_kernel_ssize, VMALLOC_INDEX)),
135135
"r"(ksp_vsid_data),
136136
"r"(ksp_esid_data)
137137
: "memory");

0 commit comments

Comments
 (0)