Hexagon: use defines for MIN_KERNEL_SEG calculation
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
This commit is contained in:
parent
53debcd518
commit
e470d932ce
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ enum fixed_addresses {
|
||||||
__end_of_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;
|
extern int max_kernel_seg;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue