diff options
author | Jan Beulich <jbeulich@novell.com> | 2007-07-16 02:38:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:36 -0400 |
commit | 98011f569e2ae1e4ae394f6e23faa16676d50de4 (patch) | |
tree | 6cde069a3fd943c36d4029b21d8b7ad4c24811f6 /kernel/kthread.c | |
parent | 140d5a49046b6d73dce4a4229e88c000a99ee126 (diff) |
mm: fix improper .init-type section references
.. which modpost started warning about.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kthread.c')
-rw-r--r-- | kernel/kthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c index bbd51b81a3e8..a404f7ee7395 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c | |||
@@ -215,7 +215,7 @@ int kthread_stop(struct task_struct *k) | |||
215 | EXPORT_SYMBOL(kthread_stop); | 215 | EXPORT_SYMBOL(kthread_stop); |
216 | 216 | ||
217 | 217 | ||
218 | static __init void kthreadd_setup(void) | 218 | static noinline __init_refok void kthreadd_setup(void) |
219 | { | 219 | { |
220 | struct task_struct *tsk = current; | 220 | struct task_struct *tsk = current; |
221 | 221 | ||