diff options
Diffstat (limited to 'include/asm-i386/boot.h')
-rw-r--r-- | include/asm-i386/boot.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-i386/boot.h b/include/asm-i386/boot.h index 96b228e6e79c..e7686d0a8413 100644 --- a/include/asm-i386/boot.h +++ b/include/asm-i386/boot.h @@ -12,4 +12,9 @@ #define EXTENDED_VGA 0xfffe /* 80x50 mode */ #define ASK_VGA 0xfffd /* ask for it at bootup */ -#endif +/* Physical address where kenrel should be loaded. */ +#define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \ + + (CONFIG_PHYSICAL_ALIGN - 1)) \ + & ~(CONFIG_PHYSICAL_ALIGN - 1)) + +#endif /* _LINUX_BOOT_H */ |