summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-02-18 16:59:04 +0100
committerArnd Bergmann <arnd@arndb.de>2022-02-18 17:01:38 +0100
commitbe92e1ded1d17d68444a793fb07c118ab98b28b5 (patch)
tree24ccc4e154c808ae5b6554685c80f6e03137c867 /arch/sparc
parent7e9c3cb5ee07cba2a058d2f010ca2a71a08309c8 (diff)
sparc64: fix building assembly files
linux/posix_types.h must not be included in assembler files, so move the #include statement down into the appropriate ifdef section. Fixes: 72113d0a7d90 ("signal.h: add linux/signal.h and asm/signal.h to UAPI compile-test coverage") Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/linux-arch/202202172154.lJ3Z0yXe-lkp@intel.com/ Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/uapi/asm/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/uapi/asm/signal.h b/arch/sparc/include/uapi/asm/signal.h
index d395af9b46d2..b61382924725 100644
--- a/arch/sparc/include/uapi/asm/signal.h
+++ b/arch/sparc/include/uapi/asm/signal.h
@@ -2,7 +2,6 @@
#ifndef _UAPI__SPARC_SIGNAL_H
#define _UAPI__SPARC_SIGNAL_H
-#include <asm/posix_types.h>
#include <asm/sigcontext.h>
#include <linux/compiler.h>
@@ -152,6 +151,7 @@ struct sigstack {
#include <asm-generic/signal-defs.h>
+#include <asm/posix_types.h>
#ifndef __KERNEL__
struct __new_sigaction {