summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt/__sync_fetch_and_add_4.c
blob: 3c11a3b87dd1425e03c37eeb012ea879225c9843 (plain)
1
2
3
4
5
6
/* $FreeBSD$ */
#define	NAME		__sync_fetch_and_add_4
#define	TYPE		uint32_t
#define	FETCHADD(x, y)	atomic_fetchadd_32(x, y)

#include "__sync_fetch_and_op_n.h"
OpenPOWER on IntegriCloud