]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] topology: get rid of ifdefs
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 17 Nov 2011 08:54:20 +0000 (09:54 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 17 Nov 2011 08:54:20 +0000 (09:54 +0100)
commit0a89d839378d5c730ac87c7daf536b4da9c83083
tree531ebed7311f9fca6d807c1eb53e58cb9771e9a7
parentc76ca5d45f94f4ae92a0fae96dc2810d0998e837
[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>
arch/s390/Kconfig
arch/s390/include/asm/smp.h
arch/s390/include/asm/topology.h
arch/s390/kernel/Makefile
arch/s390/kernel/smp.c
arch/s390/kernel/topology.c