diff options
author | Helge Deller <deller@gmx.de> | 2024-05-15 14:53:25 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-05-15 17:14:26 +0200 |
commit | d4a599910193b85f76c100e30d8551c8794f8c2a (patch) | |
tree | 59dcd6c77f7cdb35c22720de25e8719874bf8477 /arch/parisc/include | |
parent | 0ca4f51fa522df285ebff76ec8bd2bde7d1c080d (diff) | |
download | linux-stable-d4a599910193b85f76c100e30d8551c8794f8c2a.tar.gz linux-stable-d4a599910193b85f76c100e30d8551c8794f8c2a.tar.bz2 linux-stable-d4a599910193b85f76c100e30d8551c8794f8c2a.zip |
parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
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>
Tested-by: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'arch/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
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__ |