* [PATCH] parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
@ 2024-05-15 12:53 deller
2024-05-15 15:06 ` John David Anglin
0 siblings, 1 reply; 2+ messages in thread
From: deller @ 2024-05-15 12:53 UTC (permalink / raw)
To: linux-parisc
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__
--
2.45.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
2024-05-15 12:53 [PATCH] parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA deller
@ 2024-05-15 15:06 ` John David Anglin
0 siblings, 0 replies; 2+ messages in thread
From: John David Anglin @ 2024-05-15 15:06 UTC (permalink / raw)
To: deller, linux-parisc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-15 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15 12:53 [PATCH] parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA deller
2024-05-15 15:06 ` John David Anglin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.