summaryrefslogtreecommitdiff
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-25 17:05:30 +0200
committerThomas Gleixner <tglx@linutronix.de>2009-07-27 21:07:17 +0200
commitcb1ba1def99eaffe1b0f8afa8fdc617dae8760cc (patch)
tree1178c2572429d284664f51ab3362877c64d57d20 /include/linux/hrtimer.h
parent54852508231ef28058a88480b2f9ab9b859b0e38 (diff)
downloadlwn-cb1ba1def99eaffe1b0f8afa8fdc617dae8760cc.tar.gz
lwn-cb1ba1def99eaffe1b0f8afa8fdc617dae8760cc.zip
hrtimer: Convert cpu_base->lock to atomic_spinlock
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r--include/linux/hrtimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 4759917adc71..f6177e6c7c9d 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -170,7 +170,7 @@ struct hrtimer_clock_base {
* @nr_events: Total number of timer interrupt events
*/
struct hrtimer_cpu_base {
- spinlock_t lock;
+ atomic_spinlock_t lock;
struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES];
#ifdef CONFIG_HIGH_RES_TIMERS
ktime_t expires_next;