diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-12-27 05:27:09 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-12-27 05:27:10 -0500 |
commit | 83a24e32908476c33ea9abc132c73020e2cd3620 (patch) | |
tree | cd1857a48ce2995dc5d2ab6c0950622120137bb4 /arch/s390/Kconfig | |
parent | 3931723f36165e137c67b8c62346024a6c4f223d (diff) |
[S390] topology: get rid of ifdefs
Remove all ifdefs from topology code and also only compile it for the
CONFIG_SCHED_BOOK case. The new code selects SCHED_MC if SCHED_BOOK is
selected. SCHED_MC without SCHED_BOOK is not possible anymore.
Furthermore various sysfs attributes are not available anymore for the
!SCHED_BOOK case. In particular all attributes that correspond to
CPU polarization.
But since all real world kernels have SCHED_BOOK selected anyway this
doesn't matter too much.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r-- | arch/s390/Kconfig | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 373679b3744a..6b35b41a09ca 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -191,18 +191,13 @@ config HOTPLUG_CPU | |||
191 | Say N if you want to disable CPU hotplug. | 191 | Say N if you want to disable CPU hotplug. |
192 | 192 | ||
193 | config SCHED_MC | 193 | config SCHED_MC |
194 | def_bool y | 194 | def_bool n |
195 | prompt "Multi-core scheduler support" | ||
196 | depends on SMP | ||
197 | help | ||
198 | Multi-core scheduler support improves the CPU scheduler's decision | ||
199 | making when dealing with multi-core CPU chips at a cost of slightly | ||
200 | increased overhead in some places. | ||
201 | 195 | ||
202 | config SCHED_BOOK | 196 | config SCHED_BOOK |
203 | def_bool y | 197 | def_bool y |
204 | prompt "Book scheduler support" | 198 | prompt "Book scheduler support" |
205 | depends on SMP && SCHED_MC | 199 | depends on SMP |
200 | select SCHED_MC | ||
206 | help | 201 | help |
207 | Book scheduler support improves the CPU scheduler's decision making | 202 | Book scheduler support improves the CPU scheduler's decision making |
208 | when dealing with machines that have several books. | 203 | when dealing with machines that have several books. |