diff options
author | Yinghai Lu <yhlu.kernel.send@gmail.com> | 2008-03-21 21:56:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:21 -0400 |
commit | c64df70793a9c344874eb4af19f85e0662d2d3ee (patch) | |
tree | df6ec69fed0d4f4e2192692558dc7dc20bfa9645 /arch/x86/Kconfig | |
parent | 9b967106da0357ef8b08847dce35584a04134f20 (diff) |
x86: memtest bootparam
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e50e38e76d9f..a0d7406e8b37 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -382,6 +382,35 @@ config PARAVIRT | |||
382 | 382 | ||
383 | endif | 383 | endif |
384 | 384 | ||
385 | config MEMTEST_BOOTPARAM | ||
386 | bool "Memtest boot parameter" | ||
387 | depends on X86_64 | ||
388 | default y | ||
389 | help | ||
390 | This option adds a kernel parameter 'memtest', which allows memtest | ||
391 | to be disabled at boot. If this option is selected, memtest | ||
392 | functionality can be disabled with memtest=0 on the kernel | ||
393 | command line. The purpose of this option is to allow a single | ||
394 | kernel image to be distributed with memtest built in, but not | ||
395 | necessarily enabled. | ||
396 | |||
397 | If you are unsure how to answer this question, answer Y. | ||
398 | |||
399 | config MEMTEST_BOOTPARAM_VALUE | ||
400 | int "Memtest boot parameter default value (0-4)" | ||
401 | depends on MEMTEST_BOOTPARAM | ||
402 | range 0 4 | ||
403 | default 0 | ||
404 | help | ||
405 | This option sets the default value for the kernel parameter | ||
406 | 'memtest', which allows memtest to be disabled at boot. If this | ||
407 | option is set to 0 (zero), the memtest kernel parameter will | ||
408 | default to 0, disabling memtest at bootup. If this option is | ||
409 | set to 4, the memtest kernel parameter will default to 4, | ||
410 | enabling memtest at bootup, and use that as pattern number. | ||
411 | |||
412 | If you are unsure how to answer this question, answer 0. | ||
413 | |||
385 | config ACPI_SRAT | 414 | config ACPI_SRAT |
386 | def_bool y | 415 | def_bool y |
387 | depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) | 416 | depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) |