mm/nobootmem.c: remove duplicate macro ARCH_LOW_ADDRESS_LIMIT statements
authorzijun_hu <[email protected]>
Fri, 7 Oct 2016 23:59:24 +0000 (16:59 -0700)
committerLinus Torvalds <[email protected]>
Sat, 8 Oct 2016 01:46:28 +0000 (18:46 -0700)
commit2382705f22c1436a153800cf6051b08f0ea14838
tree3b5f0791a5a7a109be31272aaa363012c8d7e4bb
parent1e76609cc1646c5222feefe86a3433a79be4fb73
mm/nobootmem.c: remove duplicate macro ARCH_LOW_ADDRESS_LIMIT statements

Fix the following bugs:

 - the same ARCH_LOW_ADDRESS_LIMIT statements are duplicated between
   header and relevant source

 - don't ensure ARCH_LOW_ADDRESS_LIMIT perhaps defined by ARCH in
   asm/processor.h is preferred over default in linux/bootmem.h
   completely since the former header isn't included by the latter

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: zijun_hu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/bootmem.h
mm/nobootmem.c