summaryrefslogtreecommitdiff
path: root/arch/xtensa/lib/kcsan-stubs.c
blob: 2b08faa62b869e5925d445f40102126623dc1992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// SPDX-License-Identifier: GPL-2.0

#include <linux/bug.h>
#include <linux/types.h>

void __atomic_store_8(volatile void *p, u64 v, int i)
{
	BUG();
}

u64 __atomic_load_8(const volatile void *p, int i)
{
	BUG();
}

u64 __atomic_exchange_8(volatile void *p, u64 v, int i)
{
	BUG();
}

bool __atomic_compare_exchange_8(volatile void *p1, void *p2, u64 v, bool b, int i1, int i2)
{
	BUG();
}

u64 __atomic_fetch_add_8(volatile void *p, u64 v, int i)
{
	BUG();
}

u64 __atomic_fetch_sub_8(volatile void *p, u64 v, int i)
{
	BUG();
}

u64 __atomic_fetch_and_8(volatile void *p, u64 v, int i)
{
	BUG();
}

u64 __atomic_fetch_or_8(volatile void *p, u64 v, int i)
{
	BUG();
}

u64 __atomic_fetch_xor_8(volatile void *p, u64 v, int i)
{
	BUG();
}

u64 __atomic_fetch_nand_8(volatile void *p, u64 v, int i)
{
	BUG();
}