[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211028182303.GA711390@roeck-us.net>
Date: Thu, 28 Oct 2021 11:23:03 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Vasily Gorbik <gor@...ux.ibm.com>, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Heiko Carstens <hca@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v1 1/1] delay.h: fix for removed kernel.h
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@...ck-us.net>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Tested-by: Guenter Roeck <linux@...ck-us.net>
Reviewed-by: Guenter Roeck <linux@...ck-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
>
Powered by blists - more mailing lists