delay.h: fix for removed kernel.h
Quoted 5 lines · Andy Shevchenko
To be folded to the commit
0d280a9fbbd9("include/linux/delay.h:
replacekernel.hwith the necessary inclusions")Reported-by Guenter Roeck <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>
Tested-by Guenter Roeck <[email protected]>
Reviewed-by Guenter Roeck <[email protected]>
Quoted 44 lines
--- 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
Quoted 3 lines · On Thu, 28 Oct 2021 11:23:03 PDT (-0700), [email protected] wrote:
Quoted 2 lines · Andy Shevchenko
To be folded to the commit
0d280a9fbbd9("include/linux/delay.h:
replacekernel.hwith the necessary inclusions")
I can't find that in any of my trees, so I'm assuming this is targeted at something else.
Acked-by Palmer Dabbelt <[email protected]>
Thanks!
Quoted 51 lines
Quoted 3 lines
Reported-by Guenter Roeck <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>Tested-by Guenter Roeck <[email protected]>Reviewed-by Guenter Roeck <[email protected]>Quoted 44 lines
--- 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
-1@@ -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) --2.33.0