Char: sx, fix io unmapping
[linux-2.6/mini2440.git] / include / asm-frv / types.h
blob613bf1e962f07b08fdef6b512b0cfd87da468791
1 /* types.h: FRV types
3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #ifndef _ASM_TYPES_H
13 #define _ASM_TYPES_H
15 #include <asm-generic/int-ll64.h>
17 #ifndef __ASSEMBLY__
19 typedef unsigned short umode_t;
21 #endif /* __ASSEMBLY__ */
24 * These aren't exported outside the kernel to avoid name space clashes
26 #ifdef __KERNEL__
28 #define BITS_PER_LONG 32
30 #ifndef __ASSEMBLY__
32 /* Dma addresses are 32-bits wide. */
34 typedef u32 dma_addr_t;
36 #endif /* __ASSEMBLY__ */
38 #endif /* __KERNEL__ */
40 #endif /* _ASM_TYPES_H */