diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-22 10:53:43 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-26 16:27:01 -0700 |
commit | 24691069a348f82a95e0fa9697bb5656c6d8c48c (patch) | |
tree | d46371e80e0e0573b4532ad8774b91d7a1950e21 /include/linux/rcutiny.h | |
parent | 07f038a408fb215fd656de78304b6ff4c7e4e490 (diff) | |
download | lwn-24691069a348f82a95e0fa9697bb5656c6d8c48c.tar.gz lwn-24691069a348f82a95e0fa9697bb5656c6d8c48c.zip |
rcu: Don't include <linux/ktime.h> in rcutiny.h
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>
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r-- | include/linux/rcutiny.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index 8e727f57d814..9bf1dfe7781f 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h @@ -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; } |