This is a discussion on [PATCH] x86: make memtest support 32bit - Kernel ; only support max_low_pfn below... Signed-off-by: Yinghai Lu --- Documentation/kernel-parameters.txt | 2 +- arch/x86/Kconfig | 1 - arch/x86/mm/init_32.c | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) Index: linux-2.6/Documentation/kernel-parameters.txt ================================================== ================= --- linux-2.6.orig/Documentation/kernel-parameters.txt +++ linux-2.6/Documentation/kernel-parameters.txt @@ -1200,7 +1200,7 @@ and ...
only support max_low_pfn below...
Signed-off-by: Yinghai Lu
---
Documentation/kernel-parameters.txt | 2 +-
arch/x86/Kconfig | 1 -
arch/x86/mm/init_32.c | 3 +++
3 files changed, 4 insertions(+), 2 deletions(-)
Index: linux-2.6/Documentation/kernel-parameters.txt
================================================== =================
--- linux-2.6.orig/Documentation/kernel-parameters.txt
+++ linux-2.6/Documentation/kernel-parameters.txt
@@ -1200,7 +1200,7 @@ and is between 256 and 4096 characters.
or
memmap=0x10000$0x18690000
- memtest= [KNL,X86_64] Enable memtest
+ memtest= [KNL,X86] Enable memtest
Format:
range: 0,4 : pattern number
default : 0
Index: linux-2.6/arch/x86/mm/init_32.c
================================================== =================
--- linux-2.6.orig/arch/x86/mm/init_32.c
+++ linux-2.6/arch/x86/mm/init_32.c
@@ -844,6 +844,9 @@ unsigned long __init_refok init_memory_m
reserve_early(table_start << PAGE_SHIFT,
table_end << PAGE_SHIFT, "PGTABLE");
+ if (!after_init_bootmem)
+ early_memtest(start, end);
+
return end >> PAGE_SHIFT;
}
Index: linux-2.6/arch/x86/Kconfig
================================================== =================
--- linux-2.6.orig/arch/x86/Kconfig
+++ linux-2.6/arch/x86/Kconfig
@@ -448,7 +448,6 @@ config PARAVIRT_DEBUG
config MEMTEST
bool "Memtest"
- depends on X86_64
default y
help
This option adds a kernel parameter 'memtest', which allows memtest
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/