From: Christoph Hellwig Date: Thu, 22 Aug 2019 01:53:43 +0000 (+0900) Subject: rcu: Don't include in rcutiny.h X-Git-Tag: v5.4-rc1~181^2^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24691069a348f82a95e0fa9697bb5656c6d8c48c;p=thirdparty%2Fkernel%2Flinux.git rcu: Don't include 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 Signed-off-by: Paul E. McKenney --- diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index 8e727f57d8146..9bf1dfe7781f3 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h @@ -12,7 +12,7 @@ #ifndef __LINUX_TINY_H #define __LINUX_TINY_H -#include +#include /* for HZ */ /* Never flag non-existent other CPUs! */ static inline bool rcu_eqs_special_set(int cpu) { return false; }