Commit fc624eae authored by Mike Frysinger's avatar Mike Frysinger Committed by Paul Mackerras

[POWERPC] Use __attribute__ in asm-powerpc

Pretty much everyone uses "__attribute__" or "attribute", no one uses
"__attribute".  This tweaks the three places in asm-powerpc where this
comes up.  While only asm-powerpc/types.h is interesting (for
userspace), I did asm-powerpc/processor.h as well for consistency.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 9b41fcb0
...@@ -145,9 +145,9 @@ struct thread_struct { ...@@ -145,9 +145,9 @@ struct thread_struct {
unsigned long dabr; /* Data address breakpoint register */ unsigned long dabr; /* Data address breakpoint register */
#ifdef CONFIG_ALTIVEC #ifdef CONFIG_ALTIVEC
/* Complete AltiVec register set */ /* Complete AltiVec register set */
vector128 vr[32] __attribute((aligned(16))); vector128 vr[32] __attribute__((aligned(16)));
/* AltiVec status */ /* AltiVec status */
vector128 vscr __attribute((aligned(16))); vector128 vscr __attribute__((aligned(16)));
unsigned long vrsave; unsigned long vrsave;
int used_vr; /* set if process has used altivec */ int used_vr; /* set if process has used altivec */
#endif /* CONFIG_ALTIVEC */ #endif /* CONFIG_ALTIVEC */
......
...@@ -48,7 +48,7 @@ typedef unsigned long long __u64; ...@@ -48,7 +48,7 @@ typedef unsigned long long __u64;
typedef struct { typedef struct {
__u32 u[4]; __u32 u[4];
} __attribute((aligned(16))) __vector128; } __attribute__((aligned(16))) __vector128;
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment