x86: fix sparse error in traps_32.c
commitdeef79ef351225a9fe02e41a40cb125ed03a3e6b
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 6 Feb 2008 21:39:44 +0000 (6 22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 6 Feb 2008 21:39:44 +0000 (6 22:39 +0100)
tree3d9e555b8a1d636163def11675168bebac8a59bc
parent4a5a77d106d6b43183662d4ad37a613bbaa9b829
x86: fix sparse error in traps_32.c

This was being used to ensure the proper alignment of the FXSAVE/FXRSTOR data.
This would create a sparse error in the _correct_ cases, hiding further
warnings.  Use BUILD_BUG_ON instead.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c