diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-10 19:55:28 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-10 19:55:28 -0500 |
commit | 84abd88a70090cf00f9e45c3a81680874f17626e (patch) | |
tree | 4f58b80057f6e1f5817af1dc33a5458b3dfc9a99 /arch/x86/kernel/e820.c | |
parent | 13ca0fcaa33f6b1984c4111b6ec5df42689fea6f (diff) | |
parent | e28cab42f384745c8a947a9ccd51e4aae52f5d51 (diff) |
Merge remote branch 'linus/master' into x86/bootmem
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r-- | arch/x86/kernel/e820.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 230687ba5ba5..a966b753e496 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c | |||
@@ -732,7 +732,7 @@ core_initcall(e820_mark_nvs_memory); | |||
732 | /* | 732 | /* |
733 | * Early reserved memory areas. | 733 | * Early reserved memory areas. |
734 | */ | 734 | */ |
735 | #define MAX_EARLY_RES 20 | 735 | #define MAX_EARLY_RES 32 |
736 | 736 | ||
737 | struct early_res { | 737 | struct early_res { |
738 | u64 start, end; | 738 | u64 start, end; |
@@ -740,7 +740,16 @@ struct early_res { | |||
740 | char overlap_ok; | 740 | char overlap_ok; |
741 | }; | 741 | }; |
742 | static struct early_res early_res[MAX_EARLY_RES] __initdata = { | 742 | static struct early_res early_res[MAX_EARLY_RES] __initdata = { |
743 | { 0, PAGE_SIZE, "BIOS data page" }, /* BIOS data page */ | 743 | { 0, PAGE_SIZE, "BIOS data page", 1 }, /* BIOS data page */ |
744 | #if defined(CONFIG_X86_32) && defined(CONFIG_X86_TRAMPOLINE) | ||
745 | /* | ||
746 | * But first pinch a few for the stack/trampoline stuff | ||
747 | * FIXME: Don't need the extra page at 4K, but need to fix | ||
748 | * trampoline before removing it. (see the GDT stuff) | ||
749 | */ | ||
750 | { PAGE_SIZE, PAGE_SIZE + PAGE_SIZE, "EX TRAMPOLINE", 1 }, | ||
751 | #endif | ||
752 | |||
744 | {} | 753 | {} |
745 | }; | 754 | }; |
746 | 755 | ||