URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [compat/] [linux/] [v2_0/] [include/] [asm/] [atomic.h] - Rev 611
Go to most recent revision | Compare with Previous | Blame | View Log
#ifndef __ASM_ATOMIC_H__ #define __ASM_ATOMIC_H__ #define atomic_t int #define atomic_inc(atom) (*atom)++ #define atomic_dec(atom) (*atom)-- #define atomic_read(atom) (*atom) #endif /* __ASM_ATOMIC_H__ */
Go to most recent revision | Compare with Previous | Blame | View Log