]>
Commit | Line | Data |
---|---|---|
239e48a5 KT |
1 | --- linux.orig/include/asm-ppc/types.h Sun Mar 25 18:31:08 2001 |
2 | +++ linux/include/asm-ppc/types.h Sat Apr 27 21:04:25 2002 | |
7a651b4f KT |
3 | @@ -22,6 +22,10 @@ |
4 | typedef unsigned long long __u64; | |
5 | #endif | |
6 | ||
7 | +typedef struct { | |
8 | + __u32 u[4]; | |
9 | +} __attribute((aligned(16))) __vector128; | |
10 | + | |
11 | /* | |
12 | * These aren't exported outside the kernel to avoid name space clashes | |
13 | */ | |
14 | @@ -39,12 +43,12 @@ | |
15 | typedef signed long long s64; | |
16 | typedef unsigned long long u64; | |
17 | ||
18 | -typedef struct { | |
19 | - u32 u[4]; | |
20 | -} __attribute((aligned(16))) vector128; | |
21 | +typedef __vector128 vector128; | |
239e48a5 KT |
22 | |
23 | #define BITS_PER_LONG 32 | |
24 | ||
25 | +typedef u32 dma_addr_t; | |
26 | + | |
27 | #endif /* __KERNEL__ */ | |
28 | ||
29 | #endif |