summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/types.h
blob: cffc9545dfd237719da6df365063564ebba50d67 (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
/*
 * 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 (C) 1994, 1995, 1996, 1999 by Ralf Baechle
 * Copyright (C) 2008 Wind River Systems,
 *   written by Ralf Baechle
 * Copyright (C) 1999 Silicon Graphics, Inc.
 */
#ifndef _ASM_TYPES_H
#define _ASM_TYPES_H

#include <asm-generic/int-ll64.h>
#include <uapi/asm/types.h>

/*
 * These aren't exported outside the kernel to avoid name space clashes
 */
#ifndef __ASSEMBLY__

/*
 * Don't use phys_addr_t.  You've been warned.
 */
#ifdef CONFIG_PHYS_ADDR_T_64BIT
typedef unsigned long long phys_addr_t;
#else
typedef unsigned long phys_addr_t;
#endif

#endif /* __ASSEMBLY__ */

#endif /* _ASM_TYPES_H */