diff options
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/fault.c | 2 | ||||
-rw-r--r-- | arch/x86/mm/init_32.c | 2 | ||||
-rw-r--r-- | arch/x86/mm/init_64.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 5140bdf03020..455f3fe67b42 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
@@ -848,8 +848,6 @@ no_context: | |||
848 | * Oops. The kernel tried to access some bad page. We'll have to | 848 | * Oops. The kernel tried to access some bad page. We'll have to |
849 | * terminate things with extreme prejudice. | 849 | * terminate things with extreme prejudice. |
850 | */ | 850 | */ |
851 | check_for_bios_corruption(); | ||
852 | |||
853 | #ifdef CONFIG_X86_32 | 851 | #ifdef CONFIG_X86_32 |
854 | bust_spinlocks(1); | 852 | bust_spinlocks(1); |
855 | #else | 853 | #else |
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index d37f29376b0c..657a16ad61ba 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -907,6 +907,8 @@ void __init mem_init(void) | |||
907 | int codesize, reservedpages, datasize, initsize; | 907 | int codesize, reservedpages, datasize, initsize; |
908 | int tmp; | 908 | int tmp; |
909 | 909 | ||
910 | start_periodic_check_for_corruption(); | ||
911 | |||
910 | #ifdef CONFIG_FLATMEM | 912 | #ifdef CONFIG_FLATMEM |
911 | BUG_ON(!mem_map); | 913 | BUG_ON(!mem_map); |
912 | #endif | 914 | #endif |
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index d3746efb060d..f4db5276fa21 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -769,6 +769,8 @@ void __init mem_init(void) | |||
769 | { | 769 | { |
770 | long codesize, reservedpages, datasize, initsize; | 770 | long codesize, reservedpages, datasize, initsize; |
771 | 771 | ||
772 | start_periodic_check_for_corruption(); | ||
773 | |||
772 | pci_iommu_alloc(); | 774 | pci_iommu_alloc(); |
773 | 775 | ||
774 | /* clear_bss() already clear the empty_zero_page */ | 776 | /* clear_bss() already clear the empty_zero_page */ |