diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2008-05-19 15:13:29 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-05-27 23:38:18 +0200 |
commit | 8311d21c35092aa4c4a12e0140e1ef3443489d77 (patch) | |
tree | 59b9a8196ccf45fb96053d0732e219d28dee6cdd /arch/ia64/kernel/vmlinux.lds.S | |
parent | [IA64] pvops: preparation: remove extern in irq_ia64.c (diff) | |
download | linux-8311d21c35092aa4c4a12e0140e1ef3443489d77.tar.xz linux-8311d21c35092aa4c4a12e0140e1ef3443489d77.zip |
[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>
Diffstat (limited to 'arch/ia64/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/ia64/kernel/vmlinux.lds.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S index 5929ab10a289..5a77206c2492 100644 --- a/arch/ia64/kernel/vmlinux.lds.S +++ b/arch/ia64/kernel/vmlinux.lds.S @@ -4,7 +4,6 @@ #include <asm/system.h> #include <asm/pgtable.h> -#define LOAD_OFFSET (KERNEL_START - KERNEL_TR_PAGE_SIZE) #include <asm-generic/vmlinux.lds.h> #define IVT_TEXT \ |