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
6 * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
12 #if _MIPS_SZLONG == 64
13 # include <asm-generic/int-l64.h>
15 # include <asm-generic/int-ll64.h>
20 typedef unsigned short umode_t
;
22 #endif /* __ASSEMBLY__ */
25 * These aren't exported outside the kernel to avoid name space clashes
29 #define BITS_PER_LONG _MIPS_SZLONG
33 #if (defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR)) \
34 || defined(CONFIG_64BIT)
35 typedef u64 dma_addr_t
;
37 typedef u32 dma_addr_t
;
39 typedef u64 dma64_addr_t
;
42 * Don't use phys_t. You've been warned.
44 #ifdef CONFIG_64BIT_PHYS_ADDR
45 typedef unsigned long long phys_t
;
47 typedef unsigned long phys_t
;
50 #endif /* __ASSEMBLY__ */
52 #endif /* __KERNEL__ */
54 #endif /* _ASM_TYPES_H */