s390: get rid of CONFIG_SCHED_MC and CONFIG_SCHED_BOOK
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 28 Dec 2015 12:20:43 +0000 (13:20 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Dec 2015 09:34:57 +0000 (10:34 +0100)
Use CONFIG_TOPOLOGY which selects CONFIG_SCHED_* all over the place to
reduce the random usage of the previous config options.

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/topology.h
arch/s390/kernel/Makefile
arch/s390/kernel/sysinfo.c

index d66a7c47faf30ca1fc8428ff83ef8e38a5f3a6a3..6d0ae7d30724455ea18ff33f12f4330622c8682b 100644 (file)
@@ -389,9 +389,6 @@ config HOTPLUG_CPU
          can be controlled through /sys/devices/system/cpu/cpu#.
          Say N if you want to disable CPU hotplug.
 
-config SCHED_SMT
-       def_bool n
-
 # Some NUMA nodes have memory ranges that span
 # other nodes. Even though a pfn is valid and
 # between a node's start and end pfns, it may not
@@ -462,6 +459,9 @@ config EMU_SIZE
 
 endmenu
 
+config SCHED_SMT
+       def_bool n
+
 config SCHED_MC
        def_bool n
 
index 94fc55fc72ce88a18eb73d3f43d5a7895ac6cd9c..6b53962e807e003bc22c41116cba1b55b96f9e8d 100644 (file)
@@ -7,7 +7,7 @@
 struct sysinfo_15_1_x;
 struct cpu;
 
-#ifdef CONFIG_SCHED_BOOK
+#ifdef CONFIG_SCHED_TOPOLOGY
 
 struct cpu_topology_s390 {
        unsigned short thread_id;
@@ -40,13 +40,13 @@ void store_topology(struct sysinfo_15_1_x *info);
 void topology_expect_change(void);
 const struct cpumask *cpu_coregroup_mask(int cpu);
 
-#else /* CONFIG_SCHED_BOOK */
+#else /* CONFIG_SCHED_TOPOLOGY */
 
 static inline void topology_schedule_update(void) { }
 static inline int topology_cpu_init(struct cpu *cpu) { return 0; }
 static inline void topology_expect_change(void) { }
 
-#endif /* CONFIG_SCHED_BOOK */
+#endif /* CONFIG_SCHED_TOPOLOGY */
 
 #define POLARIZATION_UNKNOWN   (-1)
 #define POLARIZATION_HRZ       (0)
index e9a328d426105664012ad1eea5a66152e3a75e06..2f5586ab8a6acf69724cb5096c60d109a2b2b054 100644 (file)
@@ -52,7 +52,7 @@ extra-y                               += head.o head64.o vmlinux.lds
 
 obj-$(CONFIG_MODULES)          += s390_ksyms.o module.o
 obj-$(CONFIG_SMP)              += smp.o
-obj-$(CONFIG_SCHED_BOOK)       += topology.o
+obj-$(CONFIG_SCHED_TOPOLOGY)   += topology.o
 obj-$(CONFIG_HIBERNATION)      += suspend.o swsusp.o
 obj-$(CONFIG_AUDIT)            += audit.o
 compat-obj-$(CONFIG_AUDIT)     += compat_audit.o
index efacda2fc56839f8813a8c67500412759bc2d920..0512f944eaf3fa3ff6b127c87b49878a27a48495 100644 (file)
@@ -122,7 +122,7 @@ static void stsi_15_1_x(struct seq_file *m, struct sysinfo_15_1_x *info)
        for (i = 0; i < TOPOLOGY_NR_MAG; i++)
                seq_printf(m, " %d", info->mag[i]);
        seq_putc(m, '\n');
-#ifdef CONFIG_SCHED_MC
+#ifdef CONFIG_SCHED_TOPOLOGY
        store_topology(info);
        seq_printf(m, "CPU Topology SW:     ");
        for (i = 0; i < TOPOLOGY_NR_MAG; i++)
This page took 0.037578 seconds and 5 git commands to generate.