]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Use __attribute__ in asm-powerpc
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Jul 2007 03:36:09 +0000 (13:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Sep 2007 04:49:21 +0000 (14:49 +1000)
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: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/processor.h
include/asm-powerpc/types.h

index e28b108051592d443c9f6da8982c2740be780424..dba7c948189db065a0862bcfa8c438f236a15ada 100644 (file)
@@ -145,9 +145,9 @@ struct thread_struct {
        unsigned long   dabr;           /* Data address breakpoint register */
 #ifdef CONFIG_ALTIVEC
        /* Complete AltiVec register set */
-       vector128       vr[32] __attribute((aligned(16)));
+       vector128       vr[32] __attribute__((aligned(16)));
        /* AltiVec status */
-       vector128       vscr __attribute((aligned(16)));
+       vector128       vscr __attribute__((aligned(16)));
        unsigned long   vrsave;
        int             used_vr;        /* set if process has used altivec */
 #endif /* CONFIG_ALTIVEC */
index 3b363757a2bbf7370cdcff220becf11313f2fd8f..a584341c87e3f4c3d0c5d82bf831d39695be350f 100644 (file)
@@ -48,7 +48,7 @@ typedef unsigned long long __u64;
 
 typedef struct {
        __u32 u[4];
-} __attribute((aligned(16))) __vector128;
+} __attribute__((aligned(16))) __vector128;
 
 #endif /* __ASSEMBLY__ */