From 2a5686edababce71d271ba674833ac3dc837d4cc Mon Sep 17 00:00:00 2001 From: Y-T-G Date: Mon, 21 May 2018 14:26:32 +0400 Subject: [PATCH] asm: cputime: fix cputime64 error - define cputime64_sub and define cputime64_add --- include/asm-generic/cputime.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/asm-generic/cputime.h b/include/asm-generic/cputime.h index 9a62937c56c..6293c75b9d7 100644 --- a/include/asm-generic/cputime.h +++ b/include/asm-generic/cputime.h @@ -66,4 +66,7 @@ typedef u64 __nocast cputime64_t; #define cputime64_to_clock_t(__ct) \ jiffies_64_to_clock_t(cputime64_to_jiffies64(__ct)) +#define cputime64_add(__a, __b) ((__a) + (__b)) +#define cputime64_sub(__a, __b) ((__a) - (__b)) + #endif