aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/hrtimer.c2
-rw-r--r--kernel/sysctl.c12
-rw-r--r--kernel/timer.c10
3 files changed, 2 insertions, 22 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index e0da4fc9f931..27a83ee41443 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -1086,7 +1086,7 @@ ktime_t hrtimer_get_remaining(const struct hrtimer *timer)
1086} 1086}
1087EXPORT_SYMBOL_GPL(hrtimer_get_remaining); 1087EXPORT_SYMBOL_GPL(hrtimer_get_remaining);
1088 1088
1089#if defined(CONFIG_NO_IDLE_HZ) || defined(CONFIG_NO_HZ) 1089#ifdef CONFIG_NO_HZ
1090/** 1090/**
1091 * hrtimer_get_next_event - get the time until next expiry event 1091 * hrtimer_get_next_event - get the time until next expiry event
1092 * 1092 *
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 18943985ddee..0d562d6531eb 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -133,8 +133,6 @@ extern int sysctl_userprocess_debug;
133extern int spin_retry; 133extern int spin_retry;
134#endif 134#endif
135 135
136extern int sysctl_hz_timer;
137
138#ifdef CONFIG_BSD_PROCESS_ACCT 136#ifdef CONFIG_BSD_PROCESS_ACCT
139extern int acct_parm[]; 137extern int acct_parm[];
140#endif 138#endif
@@ -582,16 +580,6 @@ static struct ctl_table kern_table[] = {
582 .proc_handler = &proc_dointvec, 580 .proc_handler = &proc_dointvec,
583 }, 581 },
584#endif 582#endif
585#ifdef CONFIG_NO_IDLE_HZ
586 {
587 .ctl_name = KERN_HZ_TIMER,
588 .procname = "hz_timer",
589 .data = &sysctl_hz_timer,
590 .maxlen = sizeof(int),
591 .mode = 0644,
592 .proc_handler = &proc_dointvec,
593 },
594#endif
595 { 583 {
596 .ctl_name = KERN_S390_USER_DEBUG_LOGGING, 584 .ctl_name = KERN_S390_USER_DEBUG_LOGGING,
597 .procname = "userprocess_debug", 585 .procname = "userprocess_debug",
diff --git a/kernel/timer.c b/kernel/timer.c
index b4da888497fa..03bc7f1f1593 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -812,7 +812,7 @@ static inline void __run_timers(struct tvec_base *base)
812 spin_unlock_irq(&base->lock); 812 spin_unlock_irq(&base->lock);
813} 813}
814 814
815#if defined(CONFIG_NO_IDLE_HZ) || defined(CONFIG_NO_HZ) 815#ifdef CONFIG_NO_HZ
816/* 816/*
817 * Find out when the next timer event is due to happen. This 817 * Find out when the next timer event is due to happen. This
818 * is used on S/390 to stop all activity when a cpus is idle. 818 * is used on S/390 to stop all activity when a cpus is idle.
@@ -947,14 +947,6 @@ unsigned long get_next_timer_interrupt(unsigned long now)
947 947
948 return cmp_next_hrtimer_event(now, expires); 948 return cmp_next_hrtimer_event(now, expires);
949} 949}
950
951#ifdef CONFIG_NO_IDLE_HZ
952unsigned long next_timer_interrupt(void)
953{
954 return get_next_timer_interrupt(jiffies);
955}
956#endif
957
958#endif 950#endif
959 951
960#ifndef CONFIG_VIRT_CPU_ACCOUNTING 952#ifndef CONFIG_VIRT_CPU_ACCOUNTING