summaryrefslogtreecommitdiff
path: root/include/asm-arm/mach
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2006-06-18 19:26:58 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-18 19:26:58 +0400
commitebc67da65fda03cbe5b4019d91229287fddd5c6e (patch)
tree7f1f77aa0525eecfca86f066d64938c62794e663 /include/asm-arm/mach
parent36fe6a83b4a52276eebb929ff94896fa65d83401 (diff)
downloadlinux-ebc67da65fda03cbe5b4019d91229287fddd5c6e.tar.xz
[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 'include/asm-arm/mach')
-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 */