OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f24be42
)
powerpc/mm/hash: Don't open code VMALLOC_INDEX
author
Aneesh Kumar K.V
<aneesh.kumar@linux.vnet.ibm.com>
Wed, 12 Apr 2017 04:40:22 +0000
(10:10 +0530)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 13 Apr 2017 13:34:31 +0000
(23:34 +1000)
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>
arch/powerpc/mm/slb.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/slb.c
b/arch/powerpc/mm/slb.c
index
98ae810
..
654a0d7
100644
(file)
--- a/
arch/powerpc/mm/slb.c
+++ b/
arch/powerpc/mm/slb.c
@@
-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");