aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-05-30 19:16:45 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-30 19:16:45 -0400
commitada47b5fe13d89735805b566185f4885f5a3f750 (patch)
tree644b88f8a71896307d71438e9b3af49126ffb22b /arch/s390/Kconfig
parent43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff)
parent3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff)
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig50
1 files changed, 35 insertions, 15 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 43c0acad7160..0d8cd9bbe101 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -54,6 +54,9 @@ config GENERIC_BUG
54 depends on BUG 54 depends on BUG
55 default y 55 default y
56 56
57config GENERIC_BUG_RELATIVE_POINTERS
58 def_bool y
59
57config NO_IOMEM 60config NO_IOMEM
58 def_bool y 61 def_bool y
59 62
@@ -87,6 +90,7 @@ config S390
87 select HAVE_SYSCALL_TRACEPOINTS 90 select HAVE_SYSCALL_TRACEPOINTS
88 select HAVE_DYNAMIC_FTRACE 91 select HAVE_DYNAMIC_FTRACE
89 select HAVE_FUNCTION_GRAPH_TRACER 92 select HAVE_FUNCTION_GRAPH_TRACER
93 select HAVE_REGS_AND_STACK_ACCESS_API
90 select HAVE_DEFAULT_NO_SPIN_MUTEXES 94 select HAVE_DEFAULT_NO_SPIN_MUTEXES
91 select HAVE_OPROFILE 95 select HAVE_OPROFILE
92 select HAVE_KPROBES 96 select HAVE_KPROBES
@@ -95,6 +99,37 @@ config S390
95 select HAVE_ARCH_TRACEHOOK 99 select HAVE_ARCH_TRACEHOOK
96 select INIT_ALL_POSSIBLE 100 select INIT_ALL_POSSIBLE
97 select HAVE_PERF_EVENTS 101 select HAVE_PERF_EVENTS
102 select HAVE_KERNEL_GZIP
103 select HAVE_KERNEL_BZIP2
104 select HAVE_KERNEL_LZMA
105 select ARCH_INLINE_SPIN_TRYLOCK
106 select ARCH_INLINE_SPIN_TRYLOCK_BH
107 select ARCH_INLINE_SPIN_LOCK
108 select ARCH_INLINE_SPIN_LOCK_BH
109 select ARCH_INLINE_SPIN_LOCK_IRQ
110 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
111 select ARCH_INLINE_SPIN_UNLOCK
112 select ARCH_INLINE_SPIN_UNLOCK_BH
113 select ARCH_INLINE_SPIN_UNLOCK_IRQ
114 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
115 select ARCH_INLINE_READ_TRYLOCK
116 select ARCH_INLINE_READ_LOCK
117 select ARCH_INLINE_READ_LOCK_BH
118 select ARCH_INLINE_READ_LOCK_IRQ
119 select ARCH_INLINE_READ_LOCK_IRQSAVE
120 select ARCH_INLINE_READ_UNLOCK
121 select ARCH_INLINE_READ_UNLOCK_BH
122 select ARCH_INLINE_READ_UNLOCK_IRQ
123 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
124 select ARCH_INLINE_WRITE_TRYLOCK
125 select ARCH_INLINE_WRITE_LOCK
126 select ARCH_INLINE_WRITE_LOCK_BH
127 select ARCH_INLINE_WRITE_LOCK_IRQ
128 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
129 select ARCH_INLINE_WRITE_UNLOCK
130 select ARCH_INLINE_WRITE_UNLOCK_BH
131 select ARCH_INLINE_WRITE_UNLOCK_IRQ
132 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
98 133
99config SCHED_OMIT_FRAME_POINTER 134config SCHED_OMIT_FRAME_POINTER
100 bool 135 bool
@@ -192,23 +227,8 @@ config AUDIT_ARCH
192 bool 227 bool
193 default y 228 default y
194 229
195config S390_SWITCH_AMODE
196 bool "Switch kernel/user addressing modes"
197 help
198 This option allows to switch the addressing modes of kernel and user
199 space. The kernel parameter switch_amode=on will enable this feature,
200 default is disabled. Enabling this (via kernel parameter) on machines
201 earlier than IBM System z9-109 EC/BC will reduce system performance.
202
203 Note that this option will also be selected by selecting the execute
204 protection option below. Enabling the execute protection via the
205 noexec kernel parameter will also switch the addressing modes,
206 independent of the switch_amode kernel parameter.
207
208
209config S390_EXEC_PROTECT 230config S390_EXEC_PROTECT
210 bool "Data execute protection" 231 bool "Data execute protection"
211 select S390_SWITCH_AMODE
212 help 232 help
213 This option allows to enable a buffer overflow protection for user 233 This option allows to enable a buffer overflow protection for user
214 space programs and it also selects the addressing mode option above. 234 space programs and it also selects the addressing mode option above.