x86, signal: Cleanup ifdefs and is_ia32, is_x32
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 24 Jul 2012 23:05:27 +0000 (16:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Sep 2012 22:51:26 +0000 (15:51 -0700)
commit050902c011712ad4703038fa4489ec4edd87d396
tree63a32b428111d5198ea668b9807976ae033ec96d
parentae13b7b4e041eccf34fa4dd58581fe1441375578
x86, signal: Cleanup ifdefs and is_ia32, is_x32

Use config_enabled() to cleanup the definitions of is_ia32/is_x32. Move
the function prototypes to the header file to cleanup ifdefs,
and move the x32_setup_rt_frame() code around.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/1343171129-2747-2-git-send-email-suresh.b.siddha@intel.com
Merged in compilation fix from,
Link: http://lkml.kernel.org/r/1344544736.8326.17.camel@sbsiddha-desk.sc.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/fpu-internal.h
arch/x86/include/asm/signal.h
arch/x86/kernel/signal.c