[PATCH 2/6] sparc: Make thread_info.h available directly
From: Deepa Dinamani
Date: Tue Jul 03 2018 - 01:45:28 EST
linux/compat.h was including this indirectly for
asm/compat.h dependencies.
Signed-off-by: Deepa Dinamani <deepa.kernel@xxxxxxxxx>
Cc: davem@xxxxxxxxxxxxx
---
arch/sparc/include/asm/compat.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/sparc/include/asm/compat.h b/arch/sparc/include/asm/compat.h
index 4eb51d2dae98..1b991cfcdd76 100644
--- a/arch/sparc/include/asm/compat.h
+++ b/arch/sparc/include/asm/compat.h
@@ -5,6 +5,8 @@
* Architecture specific compatibility types
*/
#include <linux/types.h>
+#include <linux/thread_info.h>
+#include <asm/thread_info.h>
#define COMPAT_USER_HZ 100
#define COMPAT_UTS_MACHINE "sparc\0\0"
--
2.17.1