]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * This file is subject to the terms and conditions of the GNU General Public | |
3 | * License. See the file "COPYING" in the main directory of this archive | |
4 | * for more details. | |
5 | * | |
6 | * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle | |
12e22e8e RB |
7 | * Copyright (C) 2008 Wind River Systems, |
8 | * written by Ralf Baechle | |
1da177e4 LT |
9 | * Copyright (C) 1999 Silicon Graphics, Inc. |
10 | */ | |
11 | #ifndef _ASM_TYPES_H | |
12 | #define _ASM_TYPES_H | |
13 | ||
23cf11dd | 14 | # include <asm-generic/int-ll64.h> |
61730c53 | 15 | #include <uapi/asm/types.h> |
23cf11dd | 16 | |
1da177e4 LT |
17 | /* |
18 | * These aren't exported outside the kernel to avoid name space clashes | |
19 | */ | |
1da177e4 LT |
20 | #ifndef __ASSEMBLY__ |
21 | ||
1da177e4 LT |
22 | /* |
23 | * Don't use phys_t. You've been warned. | |
24 | */ | |
25 | #ifdef CONFIG_64BIT_PHYS_ADDR | |
26 | typedef unsigned long long phys_t; | |
27 | #else | |
28 | typedef unsigned long phys_t; | |
29 | #endif | |
30 | ||
1da177e4 LT |
31 | #endif /* __ASSEMBLY__ */ |
32 | ||
1da177e4 | 33 | #endif /* _ASM_TYPES_H */ |