blob: b1d72e10e87b35918b9389b8f74f501003b0b387 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright 1999 Ralf Baechle (ralf@gnu.org)
* Copyright 1999 Silicon Graphics, Inc.
*/
#ifndef _ASM_ARC_TYPES_H
#define _ASM_ARC_TYPES_H
#include <linux/config.h>
#ifdef CONFIG_ARC32
typedef char CHAR;
typedef short SHORT;
typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__)));
typedef long LONG __attribute__ ((__mode__ (__SI__)));
typedef unsigned char UCHAR;
typedef unsigned short USHORT;
typedef unsigned long ULONG __attribute__ ((__mode__ (__SI__)));
typedef void VOID;
#endif /* CONFIG_ARC32 */
#ifdef CONFIG_ARC64
typedef char CHAR;
typedef short SHORT;
typedef long LARGE_INTEGER __attribute__ (__mode__ (__DI__));
typedef long LONG __attribute__ (__mode__ (__DI__));
typedef unsigned char UCHAR;
typedef unsigned short USHORT;
typedef unsigned long ULONG __attribute__ (__mode__ (__DI__));
typedef void VOID;
#endif /* CONFIG_ARC64 */
#endif /* _ASM_ARC_TYPES_H */
|