summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-09-24 09:32:20 +0200
committerHuacai Chen <chenhuacai@loongson.cn>2024-09-24 09:32:20 +0200
commit64c35d6c0ff95e9507f5fb3cce4936c7c62f3d3a (patch)
treeeda0539227e45118a9388a6319c19e6465ace201
parentLoongArch: Fix memleak in pci_acpi_scan_root() (diff)
downloadlinux-64c35d6c0ff95e9507f5fb3cce4936c7c62f3d3a.tar.xz
linux-64c35d6c0ff95e9507f5fb3cce4936c7c62f3d3a.zip
LoongArch: Remove posix_types.h include from sigcontext.h
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/20240828030413.143930-2-xry111@xry111.site/ Link: https://lore.kernel.org/loongarch/0b540679ec8cfccec75aeb3463810924f6ff71e6.camel@xry111.site/ Signed-off-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
-rw-r--r--arch/loongarch/include/uapi/asm/sigcontext.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/loongarch/include/uapi/asm/sigcontext.h b/arch/loongarch/include/uapi/asm/sigcontext.h
index 6c22f616b8f1..5cd121275bac 100644
--- a/arch/loongarch/include/uapi/asm/sigcontext.h
+++ b/arch/loongarch/include/uapi/asm/sigcontext.h
@@ -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)