From ac102a4f38d86fa70052c57b8afcdac9425b5b5b Mon Sep 17 00:00:00 2001 From: David Mosberger <davidm@wailua.hpl.hp.com> Date: Thu, 27 Mar 2003 01:03:02 -0800 Subject: [PATCH] ia64: Change struct ia64_fpreg so it will get 16-byte alignment with all ia64 compilers, not just GCC. --- include/asm-ia64/fpu.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/asm-ia64/fpu.h b/include/asm-ia64/fpu.h index 137d9f4d19c7..3859558ff0a4 100644 --- a/include/asm-ia64/fpu.h +++ b/include/asm-ia64/fpu.h @@ -2,7 +2,7 @@ #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> */ @@ -57,8 +57,9 @@ struct ia64_fpreg { union { unsigned long bits[2]; + long double __dummy; /* force 16-byte alignment */ } u; -} __attribute__ ((aligned (16))); +}; # endif /* __ASSEMBLY__ */ -- 2.30.9