aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-01-05 19:18:02 +0800
committerIngo Molnar <mingo@elte.hu>2009-01-05 13:54:16 +0100
commit39aac64812da70f0af262f4700e67637338cbb3b (patch)
treed4b95c90675d009a5af67d4292f948fbe43fffc7 /kernel/sched.c
parent5359c32eb7402124abc9964d5d53639fe0739cea (diff)
sched: mark sched_create_sysfs_power_savings_entries() as __init
Impact: cleanup The only caller is cpu_dev_init() which is marked as __init. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 545c6fccd1d..9a8e296959c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -8060,7 +8060,7 @@ static SYSDEV_CLASS_ATTR(sched_smt_power_savings, 0644,
sched_smt_power_savings_store);
#endif
-int sched_create_sysfs_power_savings_entries(struct sysdev_class *cls)
+int __init sched_create_sysfs_power_savings_entries(struct sysdev_class *cls)
{
int err = 0;