summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/cputime_jiffies.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/cputime_jiffies.h')
-rw-r--r--include/asm-generic/cputime_jiffies.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/cputime_jiffies.h b/include/asm-generic/cputime_jiffies.h
index d5cb78f53986..fe386fc6e85e 100644
--- a/include/asm-generic/cputime_jiffies.h
+++ b/include/asm-generic/cputime_jiffies.h
@@ -3,6 +3,8 @@
typedef unsigned long __nocast cputime_t;
+#define cmpxchg_cputime(ptr, old, new) cmpxchg(ptr, old, new)
+
#define cputime_one_jiffy jiffies_to_cputime(1)
#define cputime_to_jiffies(__ct) (__force unsigned long)(__ct)
#define cputime_to_scaled(__ct) (__ct)