]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/mips/include/asm/types.h
Merge branch 'akpm' (Andrew's patch-bomb)
[mirror_ubuntu-bionic-kernel.git] / arch / mips / include / asm / types.h
CommitLineData
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
12e22e8e
RB
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 */
1632b9e2 18#ifdef __KERNEL__
23cf11dd 19# include <asm-generic/int-ll64.h>
1632b9e2
DH
20#else
21# if _MIPS_SZLONG == 64
22# include <asm-generic/int-l64.h>
23# else
24# include <asm-generic/int-ll64.h>
25# endif
23cf11dd
PA
26#endif
27
1da177e4
LT
28/*
29 * These aren't exported outside the kernel to avoid name space clashes
30 */
31#ifdef __KERNEL__
1da177e4
LT
32#ifndef __ASSEMBLY__
33
1da177e4
LT
34/*
35 * Don't use phys_t. You've been warned.
36 */
37#ifdef CONFIG_64BIT_PHYS_ADDR
38typedef unsigned long long phys_t;
39#else
40typedef unsigned long phys_t;
41#endif
42
1da177e4
LT
43#endif /* __ASSEMBLY__ */
44
45#endif /* __KERNEL__ */
46
47#endif /* _ASM_TYPES_H */