diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2012-05-08 19:06:03 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-03-27 22:13:59 -0500 |
commit | 1701b01a3b3ef49ca95e240d711578d06011ba4b (patch) | |
tree | dcb500398a906f347b45f78cfe870430dd445231 | |
parent | 3a0176b9a1a2863b0474f72d0e025fa7e73ff6ce (diff) | |
download | linux-hexagon-kernel-1701b01a3b3ef49ca95e240d711578d06011ba4b.tar.gz |
Hexagon: use defines for MIN_KERNEL_SEG calculation
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
-rw-r--r-- | arch/hexagon/include/asm/mem-layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/include/asm/mem-layout.h b/arch/hexagon/include/asm/mem-layout.h index 1426cd71a1d3c4..3724cea5c59cf5 100644 --- 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; /* |