summaryrefslogtreecommitdiff
path: root/include/linux/timekeeping.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-03-19 11:39:08 +0300
committerIngo Molnar <mingo@kernel.org>2015-03-27 11:45:09 +0300
commitf09cb9a1808e35ad7502ea39b6bfb443c7fa0f19 (patch)
tree1a172f02117de052a2de202b8db41e32e76b1d15 /include/linux/timekeeping.h
parent4498e7467e9e441c18ca12f1ca08460356e0508a (diff)
downloadlinux-f09cb9a1808e35ad7502ea39b6bfb443c7fa0f19.tar.xz
time: Introduce tk_fast_raw
Add the NMI safe CLOCK_MONOTONIC_RAW accessor.. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: John Stultz <john.stultz@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20150319093400.562746929@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/timekeeping.h')
-rw-r--r--include/linux/timekeeping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index 3eaae4754275..f36b1edf3f73 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -220,6 +220,7 @@ static inline u64 ktime_get_raw_ns(void)
}
extern u64 ktime_get_mono_fast_ns(void);
+extern u64 ktime_get_raw_fast_ns(void);
/*
* Timespec interfaces utilizing the ktime based ones