delay.h: fix for removed kernel.h
PATCH 1/1 delay.h: fix for removed kernel.h
To be folded to the commit 0d280a9fbbd9 ("include/linux/delay.h:
replace kernel.h with the necessary inclusions")
Reported-by Guenter Roeck <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- arch/riscv/lib/delay.c | 4 ++++ arch/s390/include/asm/facility.h | 4 ++++ 2 files changed, 8 insertions(+)
arch/riscv/lib/delay.c +4 -0
@@ -4,10 +4,14 @@*/ #include <linux/delay.h> +#include <linux/math.h> #include <linux/param.h> #include <linux/timex.h> +#include <linux/types.h> #include <linux/export.h> +#include <asm/processor.h> +/* * This is copies from arch/arm/include/asm/delay.h *
arch/s390/include/asm/facility.h +4 -0
@@ -9,8 +9,12 @@#define __ASM_FACILITY_H#include <asm/facility-defs.h> + +#include <linux/minmax.h> #include <linux/string.h> +#include <linux/types.h> #include <linux/preempt.h> +#include <asm/lowcore.h> #define MAX_FACILITY_BIT (sizeof(stfle_fac_list) * 8)
Signature · 1 line
2.33.0