sh: Specify sane default image targets for the SH-2 platforms.
[linux-2.6/mini2440.git] / include / asm-mn10300 / types.h
blob7b9f01042fd4e6da98f59a1fbc91e586470a4ea6
1 /* MN10300 Basic type definitions
3 * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
11 #ifndef _ASM_TYPES_H
12 #define _ASM_TYPES_H
14 #include <asm-generic/int-ll64.h>
16 #ifndef __ASSEMBLY__
18 typedef unsigned short umode_t;
20 #endif /* __ASSEMBLY__ */
23 * These aren't exported outside the kernel to avoid name space clashes
25 #ifdef __KERNEL__
27 #define BITS_PER_LONG 32
29 #ifndef __ASSEMBLY__
31 /* Dma addresses are 32-bits wide. */
32 typedef u32 dma_addr_t;
34 #endif /* __ASSEMBLY__ */
36 #endif /* __KERNEL__ */
38 #endif /* _ASM_TYPES_H */