Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fc624eae3278330f484669dd8fe85535def7eb78
Commit:     fc624eae3278330f484669dd8fe85535def7eb78
Parent:     9b41fcb0eb890009f9de3df76fcdb2ba77314a4b
Author:     Mike Frysinger <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 15 13:36:09 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Sat Sep 22 14:49:21 2007 +1000

    [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: Mike Frysinger <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 include/asm-powerpc/processor.h |    4 ++--
 include/asm-powerpc/types.h     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h
index e28b108..dba7c94 100644
--- a/include/asm-powerpc/processor.h
+++ b/include/asm-powerpc/processor.h
@@ -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 */
diff --git a/include/asm-powerpc/types.h b/include/asm-powerpc/types.h
index 3b36375..a584341 100644
--- a/include/asm-powerpc/types.h
+++ b/include/asm-powerpc/types.h
@@ -48,7 +48,7 @@ typedef unsigned long long __u64;
 
 typedef struct {
        __u32 u[4];
-} __attribute((aligned(16))) __vector128;
+} __attribute__((aligned(16))) __vector128;
 
 #endif /* __ASSEMBLY__ */
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to