提交 e470d932 编写于 作者: R Richard Kuo

Hexagon: use defines for MIN_KERNEL_SEG calculation

Signed-off-by: NRichard Kuo <rkuo@codeaurora.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册