diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:09 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:09 -0500 |
commit | aba8391f7323294e88e3a665513434aba4042a7d (patch) | |
tree | e38a6b51d3cba3a3cf656274c31f66266fbcd999 /arch | |
parent | 8f46924600e30b140445f5b84abe9b80d2fff5fb (diff) |
x86: rodata config hookup
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig.debug | 16 | ||||
-rw-r--r-- | arch/x86/kernel/Makefile | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 347e33e5f395..2d0bd33b73aa 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -68,6 +68,22 @@ config DEBUG_RODATA | |||
68 | data. This is recommended so that we can catch kernel bugs sooner. | 68 | data. This is recommended so that we can catch kernel bugs sooner. |
69 | If in doubt, say "Y". | 69 | If in doubt, say "Y". |
70 | 70 | ||
71 | config DEBUG_RODATA_TEST | ||
72 | bool "Testcase for the DEBUG_RODATA feature" | ||
73 | depends on DEBUG_RODATA | ||
74 | help | ||
75 | This option enables a testcase for the DEBUG_RODATA | ||
76 | feature as well as for the change_page_attr() infrastructure. | ||
77 | If in doubt, say "N" | ||
78 | |||
79 | config DEBUG_NX_TEST | ||
80 | tristate "Testcase for the NX non-executable stack feature" | ||
81 | depends on DEBUG_KERNEL && m | ||
82 | help | ||
83 | This option enables a testcase for the CPU NX capability | ||
84 | and the software setup of this feature. | ||
85 | If in doubt, say "N" | ||
86 | |||
71 | config 4KSTACKS | 87 | config 4KSTACKS |
72 | bool "Use 4Kb for kernel stacks instead of 8Kb" | 88 | bool "Use 4Kb for kernel stacks instead of 8Kb" |
73 | depends on DEBUG_KERNEL | 89 | depends on DEBUG_KERNEL |
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 5bdb0f0431e9..6f813009d44b 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile | |||
@@ -64,6 +64,8 @@ obj-$(CONFIG_HPET_TIMER) += hpet.o | |||
64 | 64 | ||
65 | obj-$(CONFIG_K8_NB) += k8.o | 65 | obj-$(CONFIG_K8_NB) += k8.o |
66 | obj-$(CONFIG_MGEODE_LX) += geode_32.o mfgpt_32.o | 66 | obj-$(CONFIG_MGEODE_LX) += geode_32.o mfgpt_32.o |
67 | obj-$(CONFIG_DEBUG_RODATA_TEST) += test_rodata.o | ||
68 | obj-$(CONFIG_DEBUG_NX_TEST) += test_nx.o | ||
67 | 69 | ||
68 | obj-$(CONFIG_VMI) += vmi_32.o vmiclock_32.o | 70 | obj-$(CONFIG_VMI) += vmi_32.o vmiclock_32.o |
69 | obj-$(CONFIG_PARAVIRT) += paravirt.o paravirt_patch_$(BITS).o | 71 | obj-$(CONFIG_PARAVIRT) += paravirt.o paravirt_patch_$(BITS).o |