lkml.org 
[lkml]   [2018]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/6] sparc: Make thread_info.h available directly
Date
linux/compat.h was including this indirectly for
asm/compat.h dependencies.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: davem@davemloft.net
---
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
\
 
 \ /
  Last update: 2018-07-03 07:46    [W:0.134 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site