summaryrefslogtreecommitdiff
path: root/src/atomic_ops/sysdeps/gcc/nios2.h
blob: a7f2ef828056bd52c7cd71dee695b7a7b506c7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (C) 2016 Marek Vasut <marex@denx.de>
 *
 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
 *
 * Permission is hereby granted to use or copy this program
 * for any purpose, provided the above notices are retained on all copies.
 * Permission to modify the code and to distribute modified code is granted,
 * provided the above notices are retained, and a notice that the code was
 * modified is included with the above copyright notice.
 */

#define AO_GCC_ATOMIC_TEST_AND_SET
#include "../test_and_set_t_is_ao_t.h"

#include "generic.h"

#define AO_T_IS_INT