[IA64] pvops: preparation: move the constants, LOAD_OFFSET, to a header file.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 19 May 2008 13:13:29 +0000 (22:13 +0900)
committerTony Luck <tony.luck@intel.com>
Tue, 27 May 2008 21:38:18 +0000 (14:38 -0700)
commit8311d21c35092aa4c4a12e0140e1ef3443489d77
tree59b9a8196ccf45fb96053d0732e219d28dee6cdd
parent444933c6c6e82362ba8e0da26f41a53c433d11ef
[IA64] pvops: preparation: move the constants, LOAD_OFFSET, to a header file.

Move the LOAD_OFFSET definition from vmlinux.lds.S into system.h.
On paravirtualized environments, it is necessary to detect the
execution environment. One of the solutions is the multi entry point.
The multi entry point allows a boot loader to start the kernel execution
from the entry point which is different from the ELF entry point.
The non standard entry point will defined as the specialized elf note
which contains the LMA of the entry point symbol.
The constant, LOAD_OFFSET, is necessary to calculate the symbol's LMA.
Move the definition into the public header file to make it available
to the multi entry point support.

Cc: "He, Qing" <qing.he@intel.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/vmlinux.lds.S
include/asm-ia64/system.h