aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/i8253.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-02-28 19:50:11 -0500
committerJohn Stultz <john.stultz@linaro.org>2012-11-13 14:08:23 -0500
commitd6ad418763888f617ac5b4849823e4cd670df1dd (patch)
tree92d75b05849f98e1a20eb8fa8bb8a26818707cd2 /drivers/clocksource/i8253.c
parent47c8c91b2d60006df22146effe79ac4cdafd9205 (diff)
time: Kill xtime_lock, replacing it with jiffies_lock
Now that timekeeping is protected by its own locks, rename the xtime_lock to jifffies_lock to better describe what it protects. CC: Thomas Gleixner <tglx@linutronix.de> CC: Eric Dumazet <eric.dumazet@gmail.com> CC: Richard Cochran <richardcochran@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/clocksource/i8253.c')
-rw-r--r--drivers/clocksource/i8253.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/i8253.c b/drivers/clocksource/i8253.c
index e7cab2da910f..14ee3efcc404 100644
--- a/drivers/clocksource/i8253.c
+++ b/drivers/clocksource/i8253.c
@@ -35,7 +35,7 @@ static cycle_t i8253_read(struct clocksource *cs)
35 35
36 raw_spin_lock_irqsave(&i8253_lock, flags); 36 raw_spin_lock_irqsave(&i8253_lock, flags);
37 /* 37 /*
38 * Although our caller may have the read side of xtime_lock, 38 * Although our caller may have the read side of jiffies_lock,
39 * this is now a seqlock, and we are cheating in this routine 39 * this is now a seqlock, and we are cheating in this routine
40 * by having side effects on state that we cannot undo if 40 * by having side effects on state that we cannot undo if
41 * there is a collision on the seqlock and our caller has to 41 * there is a collision on the seqlock and our caller has to