Linux-parisc archive mirror
 help / color / mirror / Atom feed
From: John David Anglin <dave.anglin@bell.net>
To: deller@kernel.org, linux-parisc@vger.kernel.org
Subject: Re: [PATCH] parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
Date: Wed, 15 May 2024 11:06:15 -0400	[thread overview]
Message-ID: <d7a5fdbd-ddcb-4ef5-acdf-9f30bfcc99e2@bell.net> (raw)
In-Reply-To: <20240515125324.89101-2-deller@kernel.org>

Tested-by: John David Anglin <dave.anglin@bell.net>

Dave

On 2024-05-15 8:53 a.m., deller@kernel.org wrote:
> From: Helge Deller <deller@gmx.de>
>
> Define the HAVE_ARCH_HUGETLB_UNMAPPED_AREA macro like other platforms do in
> their page.h files to avoid this compile warning:
> arch/parisc/mm/hugetlbpage.c:25:1: warning: no previous prototype for 'hugetlb_get_unmapped_area' [-Wmissing-prototypes]
>
> Signed-off-by: Helge Deller <deller@gmx.de>
> Cc: stable@vger.kernel.org  # 6.0+
> Reported-by: John David Anglin <dave.anglin@bell.net>
> ---
>   arch/parisc/include/asm/page.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/parisc/include/asm/page.h b/arch/parisc/include/asm/page.h
> index ad4e15d12ed1..4bea2e95798f 100644
> --- a/arch/parisc/include/asm/page.h
> +++ b/arch/parisc/include/asm/page.h
> @@ -8,6 +8,7 @@
>   #define PAGE_SIZE	(_AC(1,UL) << PAGE_SHIFT)
>   #define PAGE_MASK	(~(PAGE_SIZE-1))
>   
> +#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
>   
>   #ifndef __ASSEMBLY__
>   

-- 
John David Anglin  dave.anglin@bell.net


      reply	other threads:[~2024-05-15 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15 12:53 [PATCH] parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA deller
2024-05-15 15:06 ` John David Anglin [this message]

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=d7a5fdbd-ddcb-4ef5-acdf-9f30bfcc99e2@bell.net \
    --to=dave.anglin@bell.net \
    --cc=deller@kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).