aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
-rw-r--r--kernel/sysctl.c8
2 files changed, 10 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 9c5b4d3f97ab..7f1dd56af863 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -8731,6 +8731,8 @@ void __init sched_init_smp(void)
8731} 8731}
8732#endif /* CONFIG_SMP */ 8732#endif /* CONFIG_SMP */
8733 8733
8734const_debug unsigned int sysctl_timer_migration = 1;
8735
8734int in_sched_functions(unsigned long addr) 8736int in_sched_functions(unsigned long addr)
8735{ 8737{
8736 return in_lock_functions(addr) || 8738 return in_lock_functions(addr) ||
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index e3d2c7dd59b9..b3ce58137303 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -324,6 +324,14 @@ static struct ctl_table kern_table[] = {
324 .mode = 0644, 324 .mode = 0644,
325 .proc_handler = &proc_dointvec, 325 .proc_handler = &proc_dointvec,
326 }, 326 },
327 {
328 .ctl_name = CTL_UNNUMBERED,
329 .procname = "timer_migration",
330 .data = &sysctl_timer_migration,
331 .maxlen = sizeof(unsigned int),
332 .mode = 0644,
333 .proc_handler = &proc_dointvec,
334 },
327#endif 335#endif
328 { 336 {
329 .ctl_name = CTL_UNNUMBERED, 337 .ctl_name = CTL_UNNUMBERED,