Skip to contentSkip to conversation

mips: Remove #include <uapi/asm/types.h> from <asm/types.h>

PATCH Applied Geert Uytterhoeven 2 participants 2 messages Nov 10, 2020 – Nov 12, 2020 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: Remove #include <uapi/asm/types.h> from <asm/types.h>

Everything in arch/mips/include/uapi/asm/types.h is protected by "#ifndef __KERNEL__", so it's unused for kernelspace.

---
This is a resend of a very old patch from 2013, which is still valid.

 arch/mips/include/asm/types.h | 1 -
 1 file changed, 1 deletion(-)
arch/mips/include/asm/types.h +0 -1
index 148d42a17f30ded6..638ef88e2f8ea4f2 100644
@@ -12,6 +12,5 @@
 #define _ASM_TYPES_H
 
 #include <asm-generic/int-ll64.h>
-#include <uapi/asm/types.h>
 
 #endif /* _ASM_TYPES_H */
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 9 lines · Geert Uytterhoeven

Everything in arch/mips/include/uapi/asm/types.h is protected by "#ifndef __KERNEL__", so it's unused for kernelspace.

---
This is a resend of a very old patch from 2013, which is still valid.

 arch/mips/include/asm/types.h | 1 -
 1 file changed, 1 deletion(-)

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]