Skip to content

Commit

Permalink
LoongArch: Remove posix_types.h include from sigcontext.h
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
xry111 authored and chenhuacai committed Sep 24, 2024
1 parent 5016c3a commit 64c35d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/loongarch/include/uapi/asm/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 64c35d6

Please sign in to comment.