summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-07-16 08:38:17 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 18:05:36 +0200
commit98011f569e2ae1e4ae394f6e23faa16676d50de4 (patch)
tree6cde069a3fd943c36d4029b21d8b7ad4c24811f6 /kernel/kthread.c
parentnuma: mempolicy: trivial debug fixes. (diff)
downloadlinux-98011f569e2ae1e4ae394f6e23faa16676d50de4.tar.xz
linux-98011f569e2ae1e4ae394f6e23faa16676d50de4.zip
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.c2
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)
EXPORT_SYMBOL(kthread_stop);
-static __init void kthreadd_setup(void)
+static noinline __init_refok void kthreadd_setup(void)
{
struct task_struct *tsk = current;