projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched: fix init_hrtick() section mismatch warning
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
sched.c
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 98890807375b87df9f134f3fdd7505153547e678..13dd2db9fb2dc185a4a95a86aab9f89b4850ccaf 100644
(file)
--- 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);
}