]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
authorHelge Deller <deller@gmx.de>
Wed, 15 May 2024 12:53:25 +0000 (14:53 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 15 May 2024 15:14:26 +0000 (17:14 +0200)
commitd4a599910193b85f76c100e30d8551c8794f8c2a
tree59dcd6c77f7cdb35c22720de25e8719874bf8477
parent0ca4f51fa522df285ebff76ec8bd2bde7d1c080d
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>
arch/parisc/include/asm/page.h