diff options
Diffstat (limited to 'arch/x86/kernel/e820_64.c')
-rw-r--r-- | arch/x86/kernel/e820_64.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/kernel/e820_64.c b/arch/x86/kernel/e820_64.c index abc473bcabe..07cfaae7ab0 100644 --- a/arch/x86/kernel/e820_64.c +++ b/arch/x86/kernel/e820_64.c | |||
@@ -728,6 +728,18 @@ void __init finish_e820_parsing(void) | |||
728 | } | 728 | } |
729 | } | 729 | } |
730 | 730 | ||
731 | void __init update_e820(void) | ||
732 | { | ||
733 | u8 nr_map; | ||
734 | |||
735 | nr_map = e820.nr_map; | ||
736 | if (sanitize_e820_map(e820.map, &nr_map)) | ||
737 | return; | ||
738 | e820.nr_map = nr_map; | ||
739 | printk(KERN_INFO "modified physical RAM map:\n"); | ||
740 | e820_print_map("modified"); | ||
741 | } | ||
742 | |||
731 | unsigned long pci_mem_start = 0xaeedbabe; | 743 | unsigned long pci_mem_start = 0xaeedbabe; |
732 | EXPORT_SYMBOL(pci_mem_start); | 744 | EXPORT_SYMBOL(pci_mem_start); |
733 | 745 | ||