Commit e470d932 authored by Richard Kuo's avatar Richard Kuo

Hexagon: use defines for MIN_KERNEL_SEG calculation

Signed-off-by: default avatarRichard Kuo <rkuo@codeaurora.org>
parent 53debcd5
......@@ -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;
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment