X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=arch%2Farm%2Fnwfpe%2Ffpa11.h;h=4a4d02c09112f06861ba95aef761c31b9e429444;hb=4a2581a080098ca3a0c4e416d7a282e96c75ebf8;hp=9677ae8448e85f92ee742fe900faac31c70600a5;hpb=b194b4250c2b7e9d762823ac6045316fcd4bf4f9;p=powerpc.git diff --git a/arch/arm/nwfpe/fpa11.h b/arch/arm/nwfpe/fpa11.h index 9677ae8448..4a4d02c091 100644 --- a/arch/arm/nwfpe/fpa11.h +++ b/arch/arm/nwfpe/fpa11.h @@ -31,7 +31,6 @@ */ #define GET_USERREG() ((struct pt_regs *)(THREAD_START_SP + (unsigned long)current_thread_info()) - 1) -#include #include /* includes */ @@ -60,9 +59,9 @@ typedef union tagFPREG { #ifdef CONFIG_FPE_NWFPE_XP floatx80 fExtended; #else - int padding[3]; + u32 padding[3]; #endif -} FPREG; +} __attribute__ ((packed,aligned(4))) FPREG; /* * FPA11 device model. @@ -89,7 +88,7 @@ typedef struct tagFPA11 { so we can use it to detect whether this instance of the emulator needs to be initialised. */ -} FPA11; +} __attribute__ ((packed,aligned(4))) FPA11; extern int8 SetRoundingMode(const unsigned int); extern int8 SetRoundingPrecision(const unsigned int);