]> err.no Git - linux-2.6/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)
commita7dfa9403bf3b03899d5ef5d10b0c5c3f74b0682
treea65021eecb15793d453c1ed1258759312f17e3cb
parent6d0742426c9adc7465ef5c62a99a1d3e9696ea19
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