* [PATCH] sched: mark sched_create_sysfs_power_savings_entries() as __init
@ 2009-01-05 11:05 Li Zefan
2009-01-05 11:18 ` [PATCH] [RESEND] " Li Zefan
0 siblings, 1 reply; 3+ messages in thread
From: Li Zefan @ 2009-01-05 11:05 UTC (permalink / raw)
To: Ingo Molnar; +Cc: LKML, Peter Zijlstra
Impact: cleanup
The only caller is cpu_dev_init() which is marked as __init.
---
kernel/sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index 545c6fc..9a8e296 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;
--
1.5.4.rc3
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH] [RESEND] sched: mark sched_create_sysfs_power_savings_entries() as __init
2009-01-05 11:05 [PATCH] sched: mark sched_create_sysfs_power_savings_entries() as __init Li Zefan
@ 2009-01-05 11:18 ` Li Zefan
2009-01-05 12:54 ` Ingo Molnar
0 siblings, 1 reply; 3+ messages in thread
From: Li Zefan @ 2009-01-05 11:18 UTC (permalink / raw)
To: Ingo Molnar; +Cc: LKML, Peter Zijlstra
Impact: cleanup
The only caller is cpu_dev_init() which is marked as __init.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
resend with SOB added
---
kernel/sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index 545c6fc..9a8e296 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;
-- 1.5.4.rc3
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] [RESEND] sched: mark sched_create_sysfs_power_savings_entries() as __init
2009-01-05 11:18 ` [PATCH] [RESEND] " Li Zefan
@ 2009-01-05 12:54 ` Ingo Molnar
0 siblings, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2009-01-05 12:54 UTC (permalink / raw)
To: Li Zefan; +Cc: LKML, Peter Zijlstra
* Li Zefan <lizf@cn.fujitsu.com> wrote:
> Impact: cleanup
>
> The only caller is cpu_dev_init() which is marked as __init.
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
> ---
>
> resend with SOB added
>
> ---
> kernel/sched.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied to tip/sched/urgent, thanks!
Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-05 12:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 11:05 [PATCH] sched: mark sched_create_sysfs_power_savings_entries() as __init Li Zefan
2009-01-05 11:18 ` [PATCH] [RESEND] " Li Zefan
2009-01-05 12:54 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox