Message ID | 20201110163631.3322364-1-geert@linux-m68k.org (mailing list archive) |
---|---|
State | Accepted |
Commit | e1717283250aa426cd5f3ba9a1fc9faba3a2e529 |
Headers | show |
Series | mips: Remove #include <uapi/asm/types.h> from <asm/types.h> | expand |
On Tue, Nov 10, 2020 at 05:36:31PM +0100, Geert Uytterhoeven wrote: > Everything in arch/mips/include/uapi/asm/types.h is protected by > "#ifndef __KERNEL__", so it's unused for kernelspace. > > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> > --- > 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.
diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h index 148d42a17f30ded6..638ef88e2f8ea4f2 100644 --- a/arch/mips/include/asm/types.h +++ b/arch/mips/include/asm/types.h @@ -12,6 +12,5 @@ #define _ASM_TYPES_H #include <asm-generic/int-ll64.h> -#include <uapi/asm/types.h> #endif /* _ASM_TYPES_H */
Everything in arch/mips/include/uapi/asm/types.h is protected by "#ifndef __KERNEL__", so it's unused for kernelspace. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- 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(-)