lkml.org 
[lkml]   [2020]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mips: Remove #include <uapi/asm/types.h> from <asm/types.h>
Date
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(-)

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 */
--
2.25.1
\
 
 \ /
  Last update: 2020-11-10 17:37    [W:0.061 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site