diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 21:35:46 +0200 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-05-18 11:56:18 -0700 |
commit | 3b939ba0c21115de99d8e2966eaa2c4e74733d00 (patch) | |
tree | 756d9d1fafd33a188ce81724d527399d15bbc388 /mm | |
parent | 3e0bd4dd35406a130de02c1660e32f6c40121d35 (diff) | |
download | lwn-3b939ba0c21115de99d8e2966eaa2c4e74733d00.tar.gz lwn-3b939ba0c21115de99d8e2966eaa2c4e74733d00.zip |
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@arndb.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/all/20230516193549.544673-18-arnd%40kernel.org
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions