diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2025-03-26 22:05:00 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-05-05 11:22:07 +0300 |
commit | 674d03f6bd6b0f8327f1a4920ff5893557facfbd (patch) | |
tree | 6b425bd392945fc4a7bcf657d34a52b70978a5a8 /arch/um/include/asm | |
parent | 22361369c2e0dc01ec7c3b42b582a37ca05a0973 (diff) | |
download | linux-674d03f6bd6b0f8327f1a4920ff5893557facfbd.tar.xz |
um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h
With CONFIG_GENDWARFKSYMS, um builds fail due to missing prototypes
in asm/asm-prototypes.h. Add declarations for cmpxchg8b_emu and the
exported checksum functions, including csum_partial_copy_generic as
it's also exported.
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503251216.lE4t9Ikj-lkp@intel.com/
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://patch.msgid.link/20250326190500.847236-2-samitolvanen@google.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r-- | arch/um/include/asm/asm-prototypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/um/include/asm/asm-prototypes.h b/arch/um/include/asm/asm-prototypes.h index 5898a26daa0d..408b31d59127 100644 --- a/arch/um/include/asm/asm-prototypes.h +++ b/arch/um/include/asm/asm-prototypes.h @@ -1 +1,6 @@ #include <asm-generic/asm-prototypes.h> +#include <asm/checksum.h> + +#ifdef CONFIG_UML_X86 +extern void cmpxchg8b_emu(void); +#endif |