diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-06 16:20:10 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-06 16:20:10 -0400 |
| commit | c6799ade4ae04b53a5f677e5289116155ff01574 (patch) | |
| tree | 3601b5e2387e39d62c207e4268c6cc5c68f2a364 /arch/arm/kernel/process.c | |
| parent | b7405e16435f710edfae6ba32bef4ca20d3de145 (diff) | |
| parent | 5cd47155155a32e5b944ac9fc3f3dc578e429aa0 (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: (82 commits)
[ARM] Add comments marking in-use ptrace numbers
[ARM] Move syscall saving out of the way of utrace
[ARM] 4360/1: S3C24XX: regs-udc.h remove unused macro
[ARM] 4358/1: S3C24XX: mach-qt2410.c: remove linux/mmc/protocol.h header
[ARM] mm 10: allow memory type to be specified with ioremap
[ARM] mm 9: add additional device memory types
[ARM] mm 8: define mem_types table L1 bit 4 to be for ARMv6
[ARM] iop: add missing parens in macro
[ARM] mm 7: remove duplicated __ioremap() prototypes
ARM: OMAP: fix OMAP1 mpuio suspend/resume oops
ARM: OMAP: MPUIO wake updates
ARM: OMAP: speed up gpio irq handling
ARM: OMAP: plat-omap changes for 2430 SDP
ARM: OMAP: gpio object shrinkage, cleanup
ARM: OMAP: /sys/kernel/debug/omap_gpio
ARM: OMAP: Implement workaround for GPIO wakeup bug in OMAP2420 silicon
ARM: OMAP: Enable 24xx GPIO autoidling
[ARM] 4318/2: DSM-G600 Board Support
[ARM] 4227/1: minor head.S fixups
[ARM] 4328/1: Move i.MX UART regs to driver
...
Diffstat (limited to 'arch/arm/kernel/process.c')
| -rw-r--r-- | arch/arm/kernel/process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 782af3cb213f..5d6e6523598b 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #include <linux/mm.h> | 16 | #include <linux/mm.h> |
| 17 | #include <linux/stddef.h> | 17 | #include <linux/stddef.h> |
| 18 | #include <linux/unistd.h> | 18 | #include <linux/unistd.h> |
| 19 | #include <linux/ptrace.h> | ||
| 20 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
| 21 | #include <linux/user.h> | 20 | #include <linux/user.h> |
| 22 | #include <linux/a.out.h> | 21 | #include <linux/a.out.h> |
| @@ -28,6 +27,7 @@ | |||
| 28 | #include <linux/cpu.h> | 27 | #include <linux/cpu.h> |
| 29 | #include <linux/elfcore.h> | 28 | #include <linux/elfcore.h> |
| 30 | #include <linux/pm.h> | 29 | #include <linux/pm.h> |
| 30 | #include <linux/tick.h> | ||
| 31 | 31 | ||
| 32 | #include <asm/leds.h> | 32 | #include <asm/leds.h> |
| 33 | #include <asm/processor.h> | 33 | #include <asm/processor.h> |
| @@ -160,9 +160,11 @@ void cpu_idle(void) | |||
| 160 | if (!idle) | 160 | if (!idle) |
| 161 | idle = default_idle; | 161 | idle = default_idle; |
| 162 | leds_event(led_idle_start); | 162 | leds_event(led_idle_start); |
| 163 | tick_nohz_stop_sched_tick(); | ||
| 163 | while (!need_resched()) | 164 | while (!need_resched()) |
| 164 | idle(); | 165 | idle(); |
| 165 | leds_event(led_idle_end); | 166 | leds_event(led_idle_end); |
| 167 | tick_nohz_restart_sched_tick(); | ||
| 166 | preempt_enable_no_resched(); | 168 | preempt_enable_no_resched(); |
| 167 | schedule(); | 169 | schedule(); |
| 168 | preempt_disable(); | 170 | preempt_disable(); |
