]> Git Repo - linux.git/commitdiff
LoongArch: Remove posix_types.h include from sigcontext.h
authorXi Ruoyao <[email protected]>
Tue, 24 Sep 2024 07:32:20 +0000 (15:32 +0800)
committerHuacai Chen <[email protected]>
Tue, 24 Sep 2024 07:32:20 +0000 (15:32 +0800)
Nothing in sigcontext.h seems to require anything from
linux/posix_types.h.  This include seems a MIPS relic originated from
an error in Linux 2.6.11-rc2 (in 2005).

The unneeded include was found debugging some vDSO self test build
failure (it's not the root cause though).

Link: https://lore.kernel.org/linux-mips/[email protected]/
Link: https://lore.kernel.org/loongarch/[email protected]/
Signed-off-by: Xi Ruoyao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
arch/loongarch/include/uapi/asm/sigcontext.h

index 6c22f616b8f15d746316a62468a9a9a22c736443..5cd121275bacbc3732310385300f29373b773654 100644 (file)
@@ -9,7 +9,6 @@
 #define _UAPI_ASM_SIGCONTEXT_H
 
 #include <linux/types.h>
-#include <linux/posix_types.h>
 
 /* FP context was used */
 #define SC_USED_FP             (1 << 0)
This page took 0.058231 seconds and 4 git commands to generate.