x86, intel_cacheinfo: fix use-after-free cache_kobject
[linux-2.6.git] / include / asm-avr32 / types.h
blob9cefda6f534a19f641cf467a758a0e88c0d900a8
1 /*
2 * Copyright (C) 2004-2006 Atmel Corporation
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8 #ifndef __ASM_AVR32_TYPES_H
9 #define __ASM_AVR32_TYPES_H
11 #include <asm-generic/int-ll64.h>
13 #ifndef __ASSEMBLY__
15 typedef unsigned short umode_t;
17 #endif /* __ASSEMBLY__ */
20 * These aren't exported outside the kernel to avoid name space clashes
22 #ifdef __KERNEL__
24 #define BITS_PER_LONG 32
26 #ifndef __ASSEMBLY__
28 /* Dma addresses are 32-bits wide. */
30 typedef u32 dma_addr_t;
32 #endif /* __ASSEMBLY__ */
34 #endif /* __KERNEL__ */
37 #endif /* __ASM_AVR32_TYPES_H */