]> git.baikalelectronics.ru Git - kernel.git/commit
uml: use PAGE_SIZE in linker scripts
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 12 May 2008 21:01:56 +0000 (14:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 May 2008 15:02:22 +0000 (08:02 -0700)
commit9c4c317f7acbda273dd5342d0106e5cfd43e0b30
treea65021eecb15793d453c1ed1258759312f17e3cb
parent86a51ecb256fba4b9e00076c11da8897ee581948
uml: use PAGE_SIZE in linker scripts

This patch includes page.h header into linker scripts that allow us to
use PAGE_SIZE macro instead of numeric constant.

To be able to include page.h into linker scripts page.h is needed for
some modification - i.e.  we need to use __ASSEMBLY__ and _AC macro

[jdike@linux.intel.com - fixed conflict with as-layout.h]
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/as-layout.h
arch/um/kernel/dyn.lds.S
arch/um/kernel/uml.lds.S
include/asm-um/page.h