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
timekeeping: Annotate ktime_get_boot_fast_ns() with data_race()
[linux-2.6-microblaze.git]
/
kernel
/
time
/
timekeeping.c
diff --git
a/kernel/time/timekeeping.c
b/kernel/time/timekeeping.c
index
2c22023
..
3479804
100644
(file)
--- a/
kernel/time/timekeeping.c
+++ b/
kernel/time/timekeeping.c
@@
-528,7
+528,7
@@
u64 notrace ktime_get_boot_fast_ns(void)
{
struct timekeeper *tk = &tk_core.timekeeper;
- return (ktime_get_mono_fast_ns() + ktime_to_ns(
tk->offs_boot
));
+ return (ktime_get_mono_fast_ns() + ktime_to_ns(
data_race(tk->offs_boot)
));
}
EXPORT_SYMBOL_GPL(ktime_get_boot_fast_ns);