summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds2008-09-23 23:57:22 +0200
committerLinus Torvalds2008-09-23 23:57:22 +0200
commitbe3be8905854d2fcf6030f1da9ebc221e9e2c5f1 (patch)
tree6afd6b79d029702ef68ffd88a7c6f337f88a2f60 /kernel
parentMerge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentsched: fix init_hrtick() section mismatch warning (diff)
downloadkernel-qcow2-linux-be3be8905854d2fcf6030f1da9ebc221e9e2c5f1.tar.gz
kernel-qcow2-linux-be3be8905854d2fcf6030f1da9ebc221e9e2c5f1.tar.xz
kernel-qcow2-linux-be3be8905854d2fcf6030f1da9ebc221e9e2c5f1.zip
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: sched: fix init_hrtick() section mismatch warning
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 98890807375b..13dd2db9fb2d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1087,7 +1087,7 @@ hotplug_hrtick(struct notifier_block *nfb, unsigned long action, void *hcpu)
return NOTIFY_DONE;
}
-static void init_hrtick(void)
+static __init void init_hrtick(void)
{
hotcpu_notifier(hotplug_hrtick, 0);
}