]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h
authorSami Tolvanen <samitolvanen@google.com>
Wed, 26 Mar 2025 19:05:00 +0000 (19:05 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Jul 2025 09:00:07 +0000 (11:00 +0200)
commit265ca1741075c8d17dae94b25c8439188be66b0a
tree89ded316615ec3e4c1a9f0d67e96ac626093c3f6
parent462215a2a3f42f468cc137912dbcd23edbdeb4d6
um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h

[ Upstream commit 674d03f6bd6b0f8327f1a4920ff5893557facfbd ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/include/asm/asm-prototypes.h
arch/x86/um/asm/checksum.h