source: svn/newcon3bcm2_21bu/toolchain/mips-linux-uclibc/include/asm/atomic.h @ 43

Last change on this file since 43 was 43, checked in by megakiss, 11 years ago

광주방송 OTC 주파수 369Mhz로 변경

  • Property svn:executable set to *
File size: 639 bytes
Line 
1/*
2 * Atomic operations that C can't guarantee us.  Useful for
3 * resource counting etc..
4 *
5 * But use these as seldom as possible since they are much more slower
6 * than regular operations.
7 *
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License.  See the file "COPYING" in the main directory of this archive
10 * for more details.
11 *
12 * Copyright (C) 1996, 97, 99, 2000, 03, 04 by Ralf Baechle
13 */
14#ifndef _ASM_ATOMIC_H
15#define _ASM_ATOMIC_H
16
17
18typedef struct { volatile int counter; } atomic_t;
19
20#ifdef __mips64
21typedef struct { volatile __s64 counter; } atomic64_t;
22#endif
23
24#endif /* _ASM_ATOMIC_H */
Note: See TracBrowser for help on using the repository browser.