]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rcu: Don't include <linux/ktime.h> in rcutiny.h
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Aug 2019 01:53:43 +0000 (10:53 +0900)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Mon, 26 Aug 2019 23:27:01 +0000 (16:27 -0700)
The kbuild reported a built failure due to a header loop when RCUTINY is
enabled with my pending riscv-nommu port.  Switch rcutiny.h to only
include the minimal required header to get HZ instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
include/linux/rcutiny.h

index 8e727f57d814678b2fab40f1ca4dda9afc48ce24..9bf1dfe7781f3aac603844d9ce29c20f74a36b29 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __LINUX_TINY_H
 #define __LINUX_TINY_H
 
-#include <linux/ktime.h>
+#include <asm/param.h> /* for HZ */
 
 /* Never flag non-existent other CPUs! */
 static inline bool rcu_eqs_special_set(int cpu) { return false; }