summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/signal.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-07-22 17:28:58 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-23 16:20:24 +0300
commit1a33b18b3bd9748c9c712a23e788bf1f1c4a7025 (patch)
tree72df5b66fd4befbe9c0eda26dc6c81970c6bd2ca /arch/x86/include/asm/signal.h
parent4431531c482a2c05126caaa9fcc5053a4a5c495b (diff)
downloadlinux-1a33b18b3bd9748c9c712a23e788bf1f1c4a7025.tar.xz
compat: make linux/compat.h available everywhere
Parts of linux/compat.h are under an #ifdef, but we end up using more of those over time, moving things around bit by bit. To get it over with once and for all, make all of this file uncondititonal now so it can be accessed everywhere. There are only a few types left that are in asm/compat.h but not yet in the asm-generic version, so add those in the process. This requires providing a few more types in asm-generic/compat.h that were not already there. The only tricky one is compat_sigset_t, which needs a little help on 32-bit architectures and for x86. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/include/asm/signal.h')
-rw-r--r--arch/x86/include/asm/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/signal.h b/arch/x86/include/asm/signal.h
index 6fd8410a3910..2dfb5fea13af 100644
--- a/arch/x86/include/asm/signal.h
+++ b/arch/x86/include/asm/signal.h
@@ -29,6 +29,7 @@ typedef struct {
#define SA_X32_ABI 0x01000000u
#ifndef CONFIG_COMPAT
+#define compat_sigset_t compat_sigset_t
typedef sigset_t compat_sigset_t;
#endif