aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-powerpc/processor.h4
-rw-r--r--include/asm-powerpc/types.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h
index e28b10805159..dba7c948189d 100644
--- a/include/asm-powerpc/processor.h
+++ b/include/asm-powerpc/processor.h
@@ -145,9 +145,9 @@ struct thread_struct {
145 unsigned long dabr; /* Data address breakpoint register */ 145 unsigned long dabr; /* Data address breakpoint register */
146#ifdef CONFIG_ALTIVEC 146#ifdef CONFIG_ALTIVEC
147 /* Complete AltiVec register set */ 147 /* Complete AltiVec register set */
148 vector128 vr[32] __attribute((aligned(16))); 148 vector128 vr[32] __attribute__((aligned(16)));
149 /* AltiVec status */ 149 /* AltiVec status */
150 vector128 vscr __attribute((aligned(16))); 150 vector128 vscr __attribute__((aligned(16)));
151 unsigned long vrsave; 151 unsigned long vrsave;
152 int used_vr; /* set if process has used altivec */ 152 int used_vr; /* set if process has used altivec */
153#endif /* CONFIG_ALTIVEC */ 153#endif /* CONFIG_ALTIVEC */
diff --git a/include/asm-powerpc/types.h b/include/asm-powerpc/types.h
index 3b363757a2bb..a584341c87e3 100644
--- a/include/asm-powerpc/types.h
+++ b/include/asm-powerpc/types.h
@@ -48,7 +48,7 @@ typedef unsigned long long __u64;
48 48
49typedef struct { 49typedef struct {
50 __u32 u[4]; 50 __u32 u[4];
51} __attribute((aligned(16))) __vector128; 51} __attribute__((aligned(16))) __vector128;
52 52
53#endif /* __ASSEMBLY__ */ 53#endif /* __ASSEMBLY__ */
54 54