diff options
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/boot.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/x86/include/asm/boot.h b/arch/x86/include/asm/boot.h index dd61616cb73d..c0e8e68a31fb 100644 --- a/arch/x86/include/asm/boot.h +++ b/arch/x86/include/asm/boot.h | |||
@@ -15,11 +15,21 @@ | |||
15 | + (CONFIG_PHYSICAL_ALIGN - 1)) \ | 15 | + (CONFIG_PHYSICAL_ALIGN - 1)) \ |
16 | & ~(CONFIG_PHYSICAL_ALIGN - 1)) | 16 | & ~(CONFIG_PHYSICAL_ALIGN - 1)) |
17 | 17 | ||
18 | #if (defined CONFIG_KERNEL_BZIP2) | ||
19 | #define BOOT_HEAP_SIZE 0x400000 | ||
20 | #else | ||
21 | |||
18 | #ifdef CONFIG_X86_64 | 22 | #ifdef CONFIG_X86_64 |
19 | #define BOOT_HEAP_SIZE 0x7000 | 23 | #define BOOT_HEAP_SIZE 0x7000 |
20 | #define BOOT_STACK_SIZE 0x4000 | ||
21 | #else | 24 | #else |
22 | #define BOOT_HEAP_SIZE 0x4000 | 25 | #define BOOT_HEAP_SIZE 0x4000 |
26 | #endif | ||
27 | |||
28 | #endif | ||
29 | |||
30 | #ifdef CONFIG_X86_64 | ||
31 | #define BOOT_STACK_SIZE 0x4000 | ||
32 | #else | ||
23 | #define BOOT_STACK_SIZE 0x1000 | 33 | #define BOOT_STACK_SIZE 0x1000 |
24 | #endif | 34 | #endif |
25 | 35 | ||