1 #ifndef _M68K_TYPES_H 2 #define _M68K_TYPES_H 3 4 #include <asm-generic/int-ll64.h> 5 6 #ifndef __ASSEMBLY__ 7 8 typedef unsigned short umode_t; 9 10 typedef struct { 11 __u32 u[4]; 12 } __attribute__((aligned(16))) vector128; 13 14 #ifdef __KERNEL__ 15 16 #define BITS_PER_LONG 32 17 18 /* DMA addresses are 32-bits wide */ 19 typedef u32 dma_addr_t; 20 21 typedef unsigned long phys_addr_t; 22 typedef unsigned long phys_size_t; 23 24 #endif /* __KERNEL__ */ 25 #endif /* __ASSEMBLY__ */ 26 27 #endif 28