diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-20 11:26:09 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-20 11:26:09 -0700 |
commit | c6ac4c18fbc92a26df71ece609b082bc3099676b (patch) | |
tree | 577533e27b1217800b44ee43d7d4870f46be3e8e /arch/x86/boot/header.S | |
parent | c4f68236e41641494f9c8a418ccc0678c335bbb5 (diff) | |
download | linux-c6ac4c18fbc92a26df71ece609b082bc3099676b.tar.bz2 |
x86, boot: correct the calculation of ZO_INIT_SIZE
Correct the calculation of ZO_INIT_SIZE (the amount of memory we need
during decompression). One symbol (ZO_startup_32) was missing from
zoffset.h, and another (ZO_z_extract_offset) was misspelled.
[ Impact: build fix ]
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/boot/header.S')
-rw-r--r-- | arch/x86/boot/header.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 68c3bfbaff24..1040f6e8010c 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S @@ -226,7 +226,7 @@ setup_data: .quad 0 # 64-bit physical pointer to pref_address: .quad LOAD_PHYSICAL_ADDR # preferred load addr -#define ZO_INIT_SIZE (ZO__end - ZO_startup_32 + ZO_extract_offset) +#define ZO_INIT_SIZE (ZO__end - ZO_startup_32 + ZO_z_extract_offset) #define VO_INIT_SIZE (VO__end - VO__text) #if ZO_INIT_SIZE > VO_INIT_SIZE #define INIT_SIZE ZO_INIT_SIZE |