kcsan-stubs.c (811B)
1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/bug.h> 4#include <linux/types.h> 5 6void __atomic_store_8(volatile void *p, u64 v, int i) 7{ 8 BUG(); 9} 10 11u64 __atomic_load_8(const volatile void *p, int i) 12{ 13 BUG(); 14} 15 16u64 __atomic_exchange_8(volatile void *p, u64 v, int i) 17{ 18 BUG(); 19} 20 21bool __atomic_compare_exchange_8(volatile void *p1, void *p2, u64 v, bool b, int i1, int i2) 22{ 23 BUG(); 24} 25 26u64 __atomic_fetch_add_8(volatile void *p, u64 v, int i) 27{ 28 BUG(); 29} 30 31u64 __atomic_fetch_sub_8(volatile void *p, u64 v, int i) 32{ 33 BUG(); 34} 35 36u64 __atomic_fetch_and_8(volatile void *p, u64 v, int i) 37{ 38 BUG(); 39} 40 41u64 __atomic_fetch_or_8(volatile void *p, u64 v, int i) 42{ 43 BUG(); 44} 45 46u64 __atomic_fetch_xor_8(volatile void *p, u64 v, int i) 47{ 48 BUG(); 49} 50 51u64 __atomic_fetch_nand_8(volatile void *p, u64 v, int i) 52{ 53 BUG(); 54}