summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-27 14:04:05 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-06-27 14:04:05 +0100
commit2ea83398b75309d8fdc999c4bb252e72d7e4fd9d (patch)
tree56719404c3fd74bce0356559b5738ad798c857fd /include
parent99bcc0590806c4f7a4ecf1a11add335b56cde963 (diff)
downloadop-kernel-dev-2ea83398b75309d8fdc999c4bb252e72d7e4fd9d.zip
op-kernel-dev-2ea83398b75309d8fdc999c4bb252e72d7e4fd9d.tar.gz
[PATCH] ARM: Add VST idle loop call
This call allows the dynamic tick support to reprogram the timer immediately before the CPU idles. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/mach/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/mach/time.h b/include/asm-arm/mach/time.h
index 047980a..2cf279a 100644
--- a/include/asm-arm/mach/time.h
+++ b/include/asm-arm/mach/time.h
@@ -60,6 +60,8 @@ struct dyn_tick_timer {
};
void timer_dyn_reprogram(void);
+#else
+#define timer_dyn_reprogram() do { } while (0)
#endif
extern struct sys_timer *system_timer;
OpenPOWER on IntegriCloud