[<prev] [next>] [day] [month] [year] [list]
Message-ID: <168444739233.404.10638167784822197520.tip-bot2@tip-bot2>
Date: Thu, 18 May 2023 22:03:12 -0000
From: "tip-bot2 for Arnd Bergmann" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Alexander Lobakin <aleksander.lobakin@...el.com>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: x86/cleanups] x86/usercopy: Include arch_wb_cache_pmem() declaration
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 3b939ba0c21115de99d8e2966eaa2c4e74733d00
Gitweb: https://git.kernel.org/tip/3b939ba0c21115de99d8e2966eaa2c4e74733d00
Author: Arnd Bergmann <arnd@...db.de>
AuthorDate: Tue, 16 May 2023 21:35:46 +02:00
Committer: Dave Hansen <dave.hansen@...ux.intel.com>
CommitterDate: Thu, 18 May 2023 11:56:18 -07:00
x86/usercopy: Include arch_wb_cache_pmem() declaration
arch_wb_cache_pmem() is declared in a global header but defined by
the architecture. On x86, the implementation needs to include the header
to avoid this warning:
arch/x86/lib/usercopy_64.c:39:6: error: no previous prototype for 'arch_wb_cache_pmem' [-Werror=missing-prototypes]
Signed-off-by: Arnd Bergmann <arnd@...db.de>
Signed-off-by: Dave Hansen <dave.hansen@...ux.intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@...el.com>
Link: https://lore.kernel.org/all/20230516193549.544673-18-arnd%40kernel.org
---
arch/x86/lib/usercopy_64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/lib/usercopy_64.c b/arch/x86/lib/usercopy_64.c
index 003d901..e9251b8 100644
--- a/arch/x86/lib/usercopy_64.c
+++ b/arch/x86/lib/usercopy_64.c
@@ -9,6 +9,7 @@
#include <linux/export.h>
#include <linux/uaccess.h>
#include <linux/highmem.h>
+#include <linux/libnvdimm.h>
/*
* Zero Userspace
Powered by blists - more mailing lists