* [PATCH v1 1/1] delay.h: fix for removed kernel.h
@ 2021-10-28 17:01 Andy Shevchenko
0 siblings, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2021-10-28 17:01 UTC (permalink / raw)
To: Andy Shevchenko, Vasily Gorbik, linux-riscv, linux-kernel, linux-s390
Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Heiko Carstens,
Christian Borntraeger, Alexander Gordeev, Andrew Morton,
Guenter Roeck
To be folded to the commit 0d280a9fbbd9 ("include/linux/delay.h:
replace kernel.h with the necessary inclusions")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
arch/riscv/lib/delay.c | 4 ++++
arch/s390/include/asm/facility.h | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/arch/riscv/lib/delay.c b/arch/riscv/lib/delay.c
index f51c9a03bca1..49d510ba75fd 100644
--- a/arch/riscv/lib/delay.c
+++ b/arch/riscv/lib/delay.c
@@ -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
*
diff --git a/arch/s390/include/asm/facility.h b/arch/s390/include/asm/facility.h
index e3aa354ab9f4..94b6919026df 100644
--- a/arch/s390/include/asm/facility.h
+++ b/arch/s390/include/asm/facility.h
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] delay.h: fix for removed kernel.h
2021-10-28 18:23 Guenter Roeck
@ 2021-10-29 4:28 ` Palmer Dabbelt
0 siblings, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2021-10-29 4:28 UTC (permalink / raw)
To: linux
Cc: andriy.shevchenko, gor, linux-riscv, linux-kernel, linux-s390,
Paul Walmsley, aou, hca, borntraeger, agordeev, akpm
On Thu, 28 Oct 2021 11:23:03 PDT (-0700), linux@roeck-us.net wrote:
> On Thu, Oct 28, 2021 at 08:01:43PM +0300, Andy Shevchenko wrote:
>> To be folded to the commit 0d280a9fbbd9 ("include/linux/delay.h:
>> replace kernel.h with 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 <palmer@dabbelt.com>
Thanks!
>>
>> Reported-by: Guenter Roeck <linux@roeck-us.net>
>> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Tested-by: Guenter Roeck <linux@roeck-us.net>
> Reviewed-by: Guenter Roeck <linux@roeck-us.net>
>
>> ---
>> arch/riscv/lib/delay.c | 4 ++++
>> arch/s390/include/asm/facility.h | 4 ++++
>> 2 files changed, 8 insertions(+)
>>
>> diff --git a/arch/riscv/lib/delay.c b/arch/riscv/lib/delay.c
>> index f51c9a03bca1..49d510ba75fd 100644
>> --- a/arch/riscv/lib/delay.c
>> +++ b/arch/riscv/lib/delay.c
>> @@ -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
>> *
>> diff --git a/arch/s390/include/asm/facility.h b/arch/s390/include/asm/facility.h
>> index e3aa354ab9f4..94b6919026df 100644
>> --- a/arch/s390/include/asm/facility.h
>> +++ b/arch/s390/include/asm/facility.h
>> @@ -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
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] delay.h: fix for removed kernel.h
@ 2021-10-28 18:23 Guenter Roeck
2021-10-29 4:28 ` Palmer Dabbelt
0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2021-10-28 18:23 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Vasily Gorbik, linux-riscv, linux-kernel, linux-s390,
Paul Walmsley, Palmer Dabbelt, Albert Ou, Heiko Carstens,
Christian Borntraeger, Alexander Gordeev, Andrew Morton
On Thu, Oct 28, 2021 at 08:01:43PM +0300, Andy Shevchenko wrote:
> To be folded to the commit 0d280a9fbbd9 ("include/linux/delay.h:
> replace kernel.h with the necessary inclusions")
>
> Reported-by: Guenter Roeck <linux@roeck-us.net>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> arch/riscv/lib/delay.c | 4 ++++
> arch/s390/include/asm/facility.h | 4 ++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/arch/riscv/lib/delay.c b/arch/riscv/lib/delay.c
> index f51c9a03bca1..49d510ba75fd 100644
> --- a/arch/riscv/lib/delay.c
> +++ b/arch/riscv/lib/delay.c
> @@ -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
> *
> diff --git a/arch/s390/include/asm/facility.h b/arch/s390/include/asm/facility.h
> index e3aa354ab9f4..94b6919026df 100644
> --- a/arch/s390/include/asm/facility.h
> +++ b/arch/s390/include/asm/facility.h
> @@ -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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-29 4:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 17:01 [PATCH v1 1/1] delay.h: fix for removed kernel.h Andy Shevchenko
2021-10-28 18:23 Guenter Roeck
2021-10-29 4:28 ` Palmer Dabbelt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).