]> Pileus Git - ~andy/linux/blob - arch/mips/include/asm/types.h
Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[~andy/linux] / arch / mips / include / asm / types.h
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
7  * Copyright (C) 2008 Wind River Systems,
8  *   written by Ralf Baechle
9  * Copyright (C) 1999 Silicon Graphics, Inc.
10  */
11 #ifndef _ASM_TYPES_H
12 #define _ASM_TYPES_H
13
14 /*
15  * We don't use int-l64.h for the kernel anymore but still use it for
16  * userspace to avoid code changes.
17  */
18 #if (_MIPS_SZLONG == 64) && !defined(__KERNEL__)
19 # include <asm-generic/int-l64.h>
20 #else
21 # include <asm-generic/int-ll64.h>
22 #endif
23
24 /*
25  * These aren't exported outside the kernel to avoid name space clashes
26  */
27 #ifdef __KERNEL__
28 #ifndef __ASSEMBLY__
29
30 /*
31  * Don't use phys_t.  You've been warned.
32  */
33 #ifdef CONFIG_64BIT_PHYS_ADDR
34 typedef unsigned long long phys_t;
35 #else
36 typedef unsigned long phys_t;
37 #endif
38
39 #endif /* __ASSEMBLY__ */
40
41 #endif /* __KERNEL__ */
42
43 #endif /* _ASM_TYPES_H */