diff options
| author | David Sterba <dsterba@suse.com> | 2024-10-22 16:21:05 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-08 16:31:04 +0100 |
| commit | 5b3a16ebd5a56cc2f6e9ede2f050761103347e0d (patch) | |
| tree | a2a26f9481eeb7ada00010ee1ec35402be7ded38 | |
| parent | 498854c045b30d40b604a1a567f1ef6aa561b05b (diff) | |
| download | linux-5b3a16ebd5a56cc2f6e9ede2f050761103347e0d.tar.gz linux-5b3a16ebd5a56cc2f6e9ede2f050761103347e0d.tar.bz2 linux-5b3a16ebd5a56cc2f6e9ede2f050761103347e0d.zip | |
MIPS: export __cmpxchg_small()
commit 90a88784cdb7757feb8dd520255e6cb861f30943 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | arch/mips/kernel/cmpxchg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/cmpxchg.c b/arch/mips/kernel/cmpxchg.c index e974a4954df8..c371def2302d 100644 --- a/arch/mips/kernel/cmpxchg.c +++ b/arch/mips/kernel/cmpxchg.c @@ -102,3 +102,4 @@ unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old, return old; } } +EXPORT_SYMBOL(__cmpxchg_small); |
