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

Next file: linux/include/asm-ppc/smp.h
Previous file: linux/include/asm-ppc/posix_types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.44/linux/include/asm-ppc/processor.h linux/include/asm-ppc/processor.h
@@ -11,6 +11,7 @@
 
 #include <asm/ptrace.h>
 #include <asm/residual.h>
+#include <asm/types.h>
 
 /* Machine State Register (MSR) Fields */
 
@@ -625,9 +626,11 @@
 	double		fpr[32];	/* Complete floating point set */
 	unsigned long	fpscr_pad;	/* fpr ... fpscr must be contiguous */
 	unsigned long	fpscr;		/* Floating point status */
-	unsigned long	vrf[128];
-	unsigned long	vscr;
+#ifdef CONFIG_ALTIVEC
+	vector128	vr[32];		/* Complete AltiVec set */
+	vector128	vscr;		/* AltiVec status */
 	unsigned long	vrsave;
+#endif /* CONFIG_ALTIVEC */
 };
 
 #define INIT_SP		(sizeof(init_stack) + (unsigned long) &init_stack)

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])