Commit ac102a4f authored by David Mosberger's avatar David Mosberger Committed by David Mosberger

ia64: Change struct ia64_fpreg so it will get 16-byte alignment with all

	ia64 compilers, not just GCC.
parent f5110cae
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _ASM_IA64_FPU_H #define _ASM_IA64_FPU_H
/* /*
* Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co * Copyright (C) 1998, 1999, 2002, 2003 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>
*/ */
...@@ -57,8 +57,9 @@ ...@@ -57,8 +57,9 @@
struct ia64_fpreg { struct ia64_fpreg {
union { union {
unsigned long bits[2]; unsigned long bits[2];
long double __dummy; /* force 16-byte alignment */
} u; } u;
} __attribute__ ((aligned (16))); };
# 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