patch-2.3.45 linux/include/asm-ppc/types.h

Next file: linux/include/asm-sh/pgtable.h
Previous file: linux/include/asm-ppc/spinlock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.44/linux/include/asm-ppc/types.h linux/include/asm-ppc/types.h
@@ -1,6 +1,7 @@
 #ifndef _PPC_TYPES_H
 #define _PPC_TYPES_H
 
+#ifndef __ASSEMBLY__
 /*
  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  * header files exported to user space
@@ -41,10 +42,15 @@
 
 #define BITS_PER_LONG 32
 
+typedef struct {
+	u32 u[4];
+} __attribute((aligned(16))) vector128;
+
 /* DMA addresses are 32-bits wide */
 
 typedef u32 dma_addr_t;
 
 #endif /* __KERNEL__ */
+#endif /* __ASSEMBLY__ */
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)