summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-07-15 23:38:17 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:36 -0700
commit98011f569e2ae1e4ae394f6e23faa16676d50de4 (patch)
tree6cde069a3fd943c36d4029b21d8b7ad4c24811f6 /kernel/kthread.c
parent140d5a49046b6d73dce4a4229e88c000a99ee126 (diff)
downloadop-kernel-dev-98011f569e2ae1e4ae394f6e23faa16676d50de4.zip
op-kernel-dev-98011f569e2ae1e4ae394f6e23faa16676d50de4.tar.gz
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 bbd51b8..a404f7e 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;
OpenPOWER on IntegriCloud