Skip to contentSkip to conversation

kernel/sched.c: make code static

PATCH New Adrian Bunk 1 participant 1 message Jul 29, 2007 CPU hotplug

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/sched.c: make code static

This patch makes the following needlessly global code static:
- arch_reinit_sched_domains()
- struct attr_sched_mc_power_savings
- struct attr_sched_smt_power_savings

---

This patch has been sent on:
- 6 Jul 2007

 include/linux/cpu.h |    2 -
 kernel/sched.c      |   46 ++++++++++++++++++++++----------------------
 2 files changed, 23 insertions(+), 25 deletions(-)
include/linux/cpu.h renamed from include/linux/cpu.h.old +0 -2
@@ -41,8 +41,6 @@
 extern int cpu_add_sysdev_attr_group(struct attribute_group *attrs);
 extern void cpu_remove_sysdev_attr_group(struct attribute_group *attrs);
 
-extern struct sysdev_attribute attr_sched_mc_power_savings;
-extern struct sysdev_attribute attr_sched_smt_power_savings;
 extern int sched_create_sysfs_power_savings_entries(struct sysdev_class *cls);
 
 #ifdef CONFIG_HOTPLUG_CPU
kernel/sched.c renamed from kernel/sched.c.old +23 -23

70 lines not on this page · raw message