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.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -12,7 +12,7 @@ · 11 unmodified lines | ||
| 12 | 12 | #ifndef __LINUX_TINY_H |
| 13 | 13 | #define __LINUX_TINY_H |
| 14 | 14 | |
| 15 | −#include <linux/ktime.h> | |
| 15 | +#include <asm/param.h> /* for HZ */ | |
| 16 | 16 | |
| 17 | 17 | /* Never flag non-existent other CPUs! */ |
| 18 | 18 | static inline bool rcu_eqs_special_set(int cpu) { return false; } |