]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:47:45 +0000 (13:47 +0200)
commit6de4da0f1a5f0ea407169cf44c4a5fd5a5794edd
tree248e911ef27007553494d5beb0d89853ada8eb76
parenteea3545abf600dd0f4bccdc36df1ab550f914148
parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA

commit d4a599910193b85f76c100e30d8551c8794f8c2a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/page.h