Skip to content

Commit d4a5999

Browse files
committed
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>
1 parent 0ca4f51 commit d4a5999

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/parisc/include/asm/page.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
99
#define PAGE_MASK (~(PAGE_SIZE-1))
1010

11+
#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
1112

1213
#ifndef __ASSEMBLY__
1314

0 commit comments

Comments
 (0)