aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-25 11:05:30 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-07-27 15:07:17 -0400
commitcb1ba1def99eaffe1b0f8afa8fdc617dae8760cc (patch)
tree1178c2572429d284664f51ab3362877c64d57d20 /include/linux
parent54852508231ef28058a88480b2f9ab9b859b0e38 (diff)
hrtimer: Convert cpu_base->lock to atomic_spinlock
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-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 {
170 * @nr_events: Total number of timer interrupt events 170 * @nr_events: Total number of timer interrupt events
171 */ 171 */
172struct hrtimer_cpu_base { 172struct hrtimer_cpu_base {
173 spinlock_t lock; 173 atomic_spinlock_t lock;
174 struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES]; 174 struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES];
175#ifdef CONFIG_HIGH_RES_TIMERS 175#ifdef CONFIG_HIGH_RES_TIMERS
176 ktime_t expires_next; 176 ktime_t expires_next;