fanghuilin / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
c3024e
diff -up linux-3.10.0-123.6.3.el7.x86_64/include/asm-generic/cputime_jiffies.h.removejiffies linux-3.10.0-123.6.3.el7.x86_64/include/asm-generic/cputime_jiffies.h
c3024e
--- linux-3.10.0-123.6.3.el7.x86_64/include/asm-generic/cputime_jiffies.h.removejiffies	2014-07-16 14:25:31.000000000 -0400
c3024e
+++ linux-3.10.0-123.6.3.el7.x86_64/include/asm-generic/cputime_jiffies.h	2014-08-07 10:57:42.702063799 -0400
c3024e
@@ -17,8 +17,6 @@ typedef u64 __nocast cputime64_t;
c3024e
 /*
c3024e
  * Convert nanoseconds <-> cputime
c3024e
  */
c3024e
-#define cputime_to_nsecs(__ct)		\
c3024e
-	jiffies_to_nsecs(cputime_to_jiffies(__ct))
c3024e
 #define nsecs_to_cputime64(__nsec)	\
c3024e
 	jiffies64_to_cputime64(nsecs_to_jiffies64(__nsec))
c3024e
 #define nsecs_to_cputime(__nsec)	\