MIPS: export __cmpxchg_small()
authorDavid Sterba <dsterba@suse.com>
Tue, 22 Oct 2024 14:21:05 +0000 (16:21 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 23 Oct 2024 16:10:24 +0000 (18:10 +0200)
commit90a88784cdb7757feb8dd520255e6cb861f30943
tree493035b4a9093fbaeff8af9f3e615f173913304b
parent75f49c3dc7b7423d3734f2e4dabe3dac8d064338
MIPS: export __cmpxchg_small()

Export the symbol __cmpxchg_small() for btrfs.ko that uses it to store
blk_status_t, which is u8. Reported by LKP:

>> ERROR: modpost: "__cmpxchg_small" [fs/btrfs/btrfs.ko] undefined!

Patch using the cmpxchg() https://lore.kernel.org/linux-btrfs/1d4f72f7fee285b2ddf4bf62b0ac0fd89def5417.1728575379.git.naohiro.aota@wdc.com/

Link: https://lore.kernel.org/all/20241016134919.GO1609@suse.cz/
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: David Sterba <dsterba@suse.com>
arch/mips/kernel/cmpxchg.c