]> git.wh0rd.org - patches.git/blame_incremental - linux-powerpc-use-__attribute__.patch
scummvm random work
[patches.git] / linux-powerpc-use-__attribute__.patch
... / ...
CommitLineData
1diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h
2index d947b16..2ce6ea6 100644
3--- a/include/asm-powerpc/processor.h
4+++ b/include/asm-powerpc/processor.h
5@@ -153,9 +153,9 @@ struct thread_struct {
6 unsigned long dabr; /* Data address breakpoint register */
7 #ifdef CONFIG_ALTIVEC
8 /* Complete AltiVec register set */
9- vector128 vr[32] __attribute((aligned(16)));
10+ vector128 vr[32] __attribute__((aligned(16)));
11 /* AltiVec status */
12- vector128 vscr __attribute((aligned(16)));
13+ vector128 vscr __attribute__((aligned(16)));
14 unsigned long vrsave;
15 int used_vr; /* set if process has used altivec */
16 #endif /* CONFIG_ALTIVEC */
17diff --git a/include/asm-powerpc/types.h b/include/asm-powerpc/types.h
18index 3b36375..a584341 100644
19--- a/include/asm-powerpc/types.h
20+++ b/include/asm-powerpc/types.h
21@@ -48,7 +48,7 @@ typedef unsigned long long __u64;
22
23 typedef struct {
24 __u32 u[4];
25-} __attribute((aligned(16))) __vector128;
26+} __attribute__((aligned(16))) __vector128;
27
28 #endif /* __ASSEMBLY__ */
29