projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53debcd
)
Hexagon: use defines for MIN_KERNEL_SEG calculation
author
Richard Kuo
<rkuo@codeaurora.org>
Wed, 9 May 2012 00:06:03 +0000
(19:06 -0500)
committer
Richard Kuo
<rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:23 +0000
(19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/asm/mem-layout.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/hexagon/include/asm/mem-layout.h
b/arch/hexagon/include/asm/mem-layout.h
index 1426cd71a1d3c4d276df5c58fe18fe03c193bb2d..3724cea5c59cf5cb5b929db36a112a2f720a3b1c 100644
(file)
--- a/
arch/hexagon/include/asm/mem-layout.h
+++ b/
arch/hexagon/include/asm/mem-layout.h
@@
-64,7
+64,7
@@
enum fixed_addresses {
__end_of_fixed_addresses
};
-#define MIN_KERNEL_SEG
0x300 /* From 0xc0000000
*/
+#define MIN_KERNEL_SEG
(PAGE_OFFSET >> PGDIR_SHIFT) /* L1 shift is 22 bits
*/
extern int max_kernel_seg;
/*