aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/mach/time.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2006-06-18 16:26:58 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-18 16:26:58 +0100
commitebc67da65fda03cbe5b4019d91229287fddd5c6e (patch)
tree7f1f77aa0525eecfca86f066d64938c62794e663 /include/asm-arm/mach/time.h
parent[ARM] 3553/1: S3C24XX: earlier print of cpu idcode info (diff)
downloadlinux-dev-ebc67da65fda03cbe5b4019d91229287fddd5c6e.tar.xz
linux-dev-ebc67da65fda03cbe5b4019d91229287fddd5c6e.zip
[ARM] 3554/1: ARM: Fix dyntick locking
Patch from Tony Lindgren This patch fixes some dyntick locking issues on ARM as pointed out by Russell King. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--include/asm-arm/mach/time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/mach/time.h b/include/asm-arm/mach/time.h
index 96c6db7dd0e1..9f28073559e8 100644
--- a/include/asm-arm/mach/time.h
+++ b/include/asm-arm/mach/time.h
@@ -50,6 +50,7 @@ struct sys_timer {
#define DYN_TICK_ENABLED (1 << 1)
struct dyn_tick_timer {
+ spinlock_t lock;
unsigned int state; /* Current state */
int (*enable)(void); /* Enables dynamic tick */
int (*disable)(void); /* Disables dynamic tick */