aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/processor.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-14 23:36:09 -0400
committerPaul Mackerras <paulus@samba.org>2007-09-22 00:49:21 -0400
commitfc624eae3278330f484669dd8fe85535def7eb78 (patch)
tree8601b3bfecd9dd7c2fb91bebd99c0d9bd22c614f /include/asm-powerpc/processor.h
parent9b41fcb0eb890009f9de3df76fcdb2ba77314a4b (diff)
[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 <vapier@gentoo.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/processor.h')
-rw-r--r--include/asm-powerpc/processor.h4
1 files changed, 2 insertions, 2 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 */