diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-14 19:06:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-14 19:06:58 -0400 |
commit | 85082fd7cbe3173198aac0eb5e85ab1edcc6352c (patch) | |
tree | edbc09b7945994f78668d218fa02e991c3b3b365 /kernel | |
parent | 666484f0250db2e016948d63b3ef33e202e3b8d0 (diff) | |
parent | 53ffe3b440aa85af6fc4eda09b2d44bcdd312d4d (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (241 commits)
[ARM] 5171/1: ep93xx: fix compilation of modules using clocks
[ARM] 5133/2: at91sam9g20 defconfig file
[ARM] 5130/4: Support for the at91sam9g20
[ARM] 5160/1: IOP3XX: gpio/gpiolib support
[ARM] at91: Fix NAND FLASH timings for at91sam9x evaluation kits.
[ARM] 5084/1: zylonite: Register AC97 device
[ARM] 5085/2: PXA: Move AC97 over to the new central device declaration model
[ARM] 5120/1: pxa: correct platform driver names for PXA25x and PXA27x UDC drivers
[ARM] 5147/1: pxaficp_ir: drop pxa_gpio_mode calls, as pin setting
[ARM] 5145/1: PXA2xx: provide api to control IrDA pins state
[ARM] 5144/1: pxaficp_ir: cleanup includes
[ARM] pxa: remove pxa_set_cken()
[ARM] pxa: allow clk aliases
[ARM] Feroceon: don't disable BPU on boot
[ARM] Orion: LED support for HP mv2120
[ARM] Orion: add RD88F5181L-FXO support
[ARM] Orion: add RD88F5181L-GE support
[ARM] Orion: add Netgear WNR854T support
[ARM] s3c2410_defconfig: update for current build
[ARM] Acer n30: Minor style and indentation fixes.
...
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/hrtimer.c | 2 | ||||
-rw-r--r-- | kernel/sysctl.c | 12 | ||||
-rw-r--r-- | kernel/timer.c | 10 |
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 | } |
1087 | EXPORT_SYMBOL_GPL(hrtimer_get_remaining); | 1087 | EXPORT_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; | |||
133 | extern int spin_retry; | 133 | extern int spin_retry; |
134 | #endif | 134 | #endif |
135 | 135 | ||
136 | extern int sysctl_hz_timer; | ||
137 | |||
138 | #ifdef CONFIG_BSD_PROCESS_ACCT | 136 | #ifdef CONFIG_BSD_PROCESS_ACCT |
139 | extern int acct_parm[]; | 137 | extern 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 | ||
952 | unsigned 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 |