projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
work around breakage in sh/fdpic __unmapself function
[musl]
/
arch
/
sh
/
src
/
sh_atomic.h
1
#ifndef _SH_ATOMIC_H
2
#define _SH_ATOMIC_H
3
4
#define SH_A_GUSA 0
5
#define SH_A_LLSC 1
6
#define SH_A_CAS 2
7
#if !defined(__SH3__) && !defined(__SH4__)
8
#define SH_A_IMASK 3
9
#else
10
#define SH_A_IMASK -1LL /* unmatchable by unsigned int */
11
#endif
12
13
extern __attribute__((__visibility__("hidden"))) unsigned __sh_atomic_model;
14
15
#endif