Skip to content

Commit 439667f

Browse files
xry111tsbogend
authored andcommitted
mips: Remove posix_types.h include from sigcontext.h
Nothing in sigcontext.h seems to require anything from linux/posix_types.h. It seems only a relict: in a Linux 2.6.11-rc2 patch [1] the linux/types.h include was unexplainedly changed to a linux/posix_types.h include. I can only assume it was just an error. Finally headers_check complained "found __[us]{8,16,32,64} type without #include <linux/types.h>" and commit ae612fb ("headers_check fix: mips, sigcontext.h") added back the linux/types.h include, but it didn't remove the posix_types.h include. Remove it now. [1]:https://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc2/2.6.11-rc2-mm2/broken-out/mips-generic-mips-updates.patch Signed-off-by: Xi Ruoyao <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 6c4cdf4 commit 439667f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/mips/include/uapi/asm/sigcontext.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ struct sigcontext {
5656

5757
#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
5858

59-
#include <linux/posix_types.h>
6059
/*
6160
* Keep this struct definition in sync with the sigcontext fragment
6261
* in arch/mips/kernel/asm-offsets.c

0 commit comments

Comments
 (0)