]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dyntick: Remove last reminants of dyntick support
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 20 Apr 2008 12:59:33 +0000 (13:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 12 May 2008 16:39:14 +0000 (17:39 +0100)
Remove the last reminants of dyntick support from the generic kernel.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
kernel/hrtimer.c
kernel/sysctl.c
kernel/timer.c

index 421be5fe5cc78f5d2be0eabd3ba2367fe1b15b3e..543d9ca9b4f47ce5c6d5dddcaee0f8721bb99fa9 100644 (file)
@@ -1078,7 +1078,7 @@ ktime_t hrtimer_get_remaining(const struct hrtimer *timer)
 }
 EXPORT_SYMBOL_GPL(hrtimer_get_remaining);
 
-#if defined(CONFIG_NO_IDLE_HZ) || defined(CONFIG_NO_HZ)
+#ifdef CONFIG_NO_HZ
 /**
  * hrtimer_get_next_event - get the time until next expiry event
  *
index d7ffdc59816ad3f822389d508f3c5ff1b030578d..76426d93007795ffcdf6ff8d8f9c7ce49c8f6049 100644 (file)
@@ -131,8 +131,6 @@ extern int sysctl_userprocess_debug;
 extern int spin_retry;
 #endif
 
-extern int sysctl_hz_timer;
-
 #ifdef CONFIG_BSD_PROCESS_ACCT
 extern int acct_parm[];
 #endif
@@ -561,16 +559,6 @@ static struct ctl_table kern_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec,
        },
-#endif
-#ifdef CONFIG_NO_IDLE_HZ
-       {
-               .ctl_name       = KERN_HZ_TIMER,
-               .procname       = "hz_timer",
-               .data           = &sysctl_hz_timer,
-               .maxlen         = sizeof(int),
-               .mode           = 0644,
-               .proc_handler   = &proc_dointvec,
-       },
 #endif
        {
                .ctl_name       = KERN_S390_USER_DEBUG_LOGGING,
index ceacc6626572a7c2e2c345ba136bd456a267ba64..ef3fa6906e8f1c33abb92cf056cc0ca5aef40a62 100644 (file)
@@ -812,7 +812,7 @@ static inline void __run_timers(struct tvec_base *base)
        spin_unlock_irq(&base->lock);
 }
 
-#if defined(CONFIG_NO_IDLE_HZ) || defined(CONFIG_NO_HZ)
+#ifdef CONFIG_NO_HZ
 /*
  * Find out when the next timer event is due to happen. This
  * 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)
 
        return cmp_next_hrtimer_event(now, expires);
 }
-
-#ifdef CONFIG_NO_IDLE_HZ
-unsigned long next_timer_interrupt(void)
-{
-       return get_next_timer_interrupt(jiffies);
-}
-#endif
-
 #endif
 
 #ifndef CONFIG_VIRT_CPU_ACCOUNTING