From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7147A1C32; Thu, 13 Jun 2024 12:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718283028; cv=none; b=O3GI2AYbir6RjZIrwNKqyY8eYlj6hkYfO7nLt7BnnMQPOZ2zxTU5dFr6RZt8cEnCOWTYH01nV2RUEbGonfOnEBxVAZEnDf4XuQFpqrPYWzoGWOfanTlc/omi0waEuM0nCuidT9Mrq1PR6eoldcSOtrI3xChcla1FyFDRYIY3PqA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718283028; c=relaxed/simple; bh=Oo+wFfFKXo0EkcA3h1BvSarqeyixqIHQQ828JwR5nqw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZPzYjaKbFf00keVSdvdY+0QGJJ/x06sLmFP+PqAWWdXsYvXMcNVL5AG+bXuyxqvxhpsXcpVDGa7LxwdHhu1SffXduRw5wtNI1LGJCLYIn5xYySKgKKPy1X+QXV5Z+lXr+SnRrC3MHQ9M9kxJodUM7M+7YmGXx1RqlT908n1Bylo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OiRknJgx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OiRknJgx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECD17C2BBFC; Thu, 13 Jun 2024 12:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718283028; bh=Oo+wFfFKXo0EkcA3h1BvSarqeyixqIHQQ828JwR5nqw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OiRknJgxMTRGZmT+GswFjctv0OmdRJqcsRVYk+HgDFmKTE32GU6xVT22wr0EMBxXe fHHZI0scK6KvKvkJhw0/W64pQX6v9fQsShjUKbW1eSkOz/CKk0fZpiwhR24oHKhgKQ H4bnfTVW+WZ/MZE4FdbClDg98iRUsQqAStCV/W5E= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Helge Deller , John David Anglin Subject: [PATCH 6.1 74/85] parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA Date: Thu, 13 Jun 2024 13:36:12 +0200 Message-ID: <20240613113216.992868166@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113214.134806994@linuxfoundation.org> References: <20240613113214.134806994@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Helge Deller 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 Cc: stable@vger.kernel.org # 6.0+ Reported-by: John David Anglin Tested-by: John David Anglin Signed-off-by: Greg Kroah-Hartman --- arch/parisc/include/asm/page.h | 1 + 1 file changed, 1 insertion(+) --- a/arch/parisc/include/asm/page.h +++ b/arch/parisc/include/asm/page.h @@ -16,6 +16,7 @@ #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1)) +#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA #ifndef __ASSEMBLY__