projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b35cf
)
powerpc/mm: use macro PGTABLE_EADDR_SIZE instead of digital
author
Liu Ping Fan
<kernelfans@gmail.com>
Thu, 21 Nov 2013 02:17:54 +0000
(10:17 +0800)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 30 Apr 2014 22:26:39 +0000
(08:26 +1000)
In case of extending the eaddr in future, use this macro
PGTABLE_EADDR_SIZE to ease the maintenance of the code.
Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/slb_low.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/slb_low.S
b/arch/powerpc/mm/slb_low.S
index 17aa6dfceb3498cbb0a09302485bdf1ab8049cbf..e0b3cf42b053e93217909372ed60eb75f35d3bf2 100644
(file)
--- a/
arch/powerpc/mm/slb_low.S
+++ b/
arch/powerpc/mm/slb_low.S
@@
-35,7
+35,7
@@
_GLOBAL(slb_allocate_realmode)
* check for bad kernel/user address
* (ea & ~REGION_MASK) >= PGTABLE_RANGE
*/
- rldicr. r9,r3,4,(63 -
46
- 4)
+ rldicr. r9,r3,4,(63 -
PGTABLE_EADDR_SIZE
- 4)
bne- 8f
srdi r9,r3,60 /* get region */