]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix sparse error in traps_32.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 6 Feb 2008 21:39:44 +0000 (22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 6 Feb 2008 21:39:44 +0000 (22:39 +0100)
commit20830cb52a51fc432a2bd0816f65e5195ff5bfba
tree3d9e555b8a1d636163def11675168bebac8a59bc
parent8f08a3e055bc7e370bdb4586c3d30339ee934feb
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