projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
time/sched_clock: Use raw_read_seqcount_latch() during suspend
[linux-2.6-microblaze.git]
/
kernel
/
time
/
sched_clock.c
diff --git
a/kernel/time/sched_clock.c
b/kernel/time/sched_clock.c
index
1c03eec
..
8c6b5fe
100644
(file)
--- a/
kernel/time/sched_clock.c
+++ b/
kernel/time/sched_clock.c
@@
-258,7
+258,7
@@
void __init generic_sched_clock_init(void)
*/
static u64 notrace suspended_sched_clock_read(void)
{
- unsigned int seq = raw_read_seqcount(&cd.seq);
+ unsigned int seq = raw_read_seqcount
_latch
(&cd.seq);
return cd.read_data[seq & 1].epoch_cyc;
}