diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2012-07-25 01:05:27 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-19 00:51:26 +0200 |
commit | 050902c011712ad4703038fa4489ec4edd87d396 (patch) | |
tree | 63a32b428111d5198ea668b9807976ae033ec96d /arch/x86/include/asm/signal.h | |
parent | x86/iommu: Use NULL instead of plain 0 for __IOMMU_INIT (diff) | |
download | linux-050902c011712ad4703038fa4489ec4edd87d396.tar.xz linux-050902c011712ad4703038fa4489ec4edd87d396.zip |
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>
Diffstat (limited to 'arch/x86/include/asm/signal.h')
-rw-r--r-- | arch/x86/include/asm/signal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/signal.h b/arch/x86/include/asm/signal.h index 598457cbd0f8..323973f4abf1 100644 --- a/arch/x86/include/asm/signal.h +++ b/arch/x86/include/asm/signal.h @@ -31,6 +31,10 @@ typedef struct { unsigned long sig[_NSIG_WORDS]; } sigset_t; +#ifndef CONFIG_COMPAT +typedef sigset_t compat_sigset_t; +#endif + #else /* Here we must cater to libcs that poke about in kernel headers. */ |