Skip to content

Commit

Permalink
Hexagon: use defines for MIN_KERNEL_SEG calculation
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
  • Loading branch information
Richard Kuo committed May 1, 2013
1 parent 53debcd commit e470d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/hexagon/include/asm/mem-layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit e470d93

Please sign in to comment.