public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>,
	linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-s390@vger.kernel.org,
	Paul Walmsley <paul.walmsley@sifive.com>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Heiko Carstens <hca@linux.ibm.com>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH v1 1/1] delay.h: fix for removed kernel.h
Date: Thu, 28 Oct 2021 11:23:03 -0700	[thread overview]
Message-ID: <20211028182303.GA711390@roeck-us.net> (raw)

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
> 

             reply	other threads:[~2021-10-28 18:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-28 18:23 Guenter Roeck [this message]
2021-10-29  4:28 ` [PATCH v1 1/1] delay.h: fix for removed kernel.h Palmer Dabbelt
  -- strict thread matches above, loose matches on Subject: below --
2021-10-28 17:01 Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211028182303.GA711390@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=agordeev@linux.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=borntraeger@de.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox