From: Andrew Morton I had to stare at this for a while. Let's help out the next guy. Cc: Jan Beulich Signed-off-by: Andrew Morton --- arch/i386/kernel/traps.c | 8 ++++++-- asm-i386/bugs.h | 0 2 files changed, 6 insertions(+), 2 deletions(-) diff -puN arch/i386/kernel/traps.c~i386-move-simd-initialization-fix arch/i386/kernel/traps.c --- devel/arch/i386/kernel/traps.c~i386-move-simd-initialization-fix 2005-11-22 22:30:34.000000000 -0800 +++ devel-akpm/arch/i386/kernel/traps.c 2005-11-22 22:30:34.000000000 -0800 @@ -1108,9 +1108,12 @@ void __init trap_init(void) if (cpu_has_fxsr) { /* * Verify that the FXSAVE/FXRSTOR data will be 16-byte aligned. + * Generates a compile-time "error: zero width for bit-field" if + * the alignment is wrong. */ struct fxsrAlignAssert { - int _:!(offsetof(struct task_struct, thread.i387.fxsave) & 15); + int _:!(offsetof(struct task_struct, + thread.i387.fxsave) & 15); }; printk(KERN_INFO "Enabling fast FPU save and restore... "); @@ -1118,7 +1121,8 @@ void __init trap_init(void) printk("done.\n"); } if (cpu_has_xmm) { - printk(KERN_INFO "Enabling unmasked SIMD FPU exception support... "); + printk(KERN_INFO "Enabling unmasked SIMD FPU exception " + "support... "); set_in_cr4(X86_CR4_OSXMMEXCPT); printk("done.\n"); } diff -puN include/asm-i386/bugs.h~i386-move-simd-initialization-fix include/asm-i386/bugs.h _