o Relocatable bzImage support had got rid of CONFIG_PHYSICAL_START option thinking that now this option is not required as people can build a second kernel as relocatable and load it anywhere. So need of compiling the kernel for a custom address was gone. But Magnus uses vmlinux images for second kernel in Xen environment and he wants to continue to use it. o Restoring the CONFIG_PHYSICAL_START option for the time being. I think down the line we can get rid of it.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -13,7 +13,8 @@ · 12 unmodified lines | ||
| 13 | 13 | #define ASK_VGA 0xfffd /* ask for it at bootup */ |
| 14 | 14 | |
| 15 | 15 | /* Physical address where kenrel should be loaded. */ |
| 16 | −#define LOAD_PHYSICAL_ADDR ((0x100000 + CONFIG_PHYSICAL_ALIGN - 1) \ | |
| 16 | +#define LOAD_PHYSICAL_ADDR ((CONFIG_PHYSICAL_START \ | |
| 17 | + + (CONFIG_PHYSICAL_ALIGN - 1)) \ | |
| 17 | 18 | & ~(CONFIG_PHYSICAL_ALIGN - 1)) |
| 18 | 19 | |
| 19 | 20 | #endif /* _LINUX_BOOT_H */ |