[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170919115042.6800-1-net147@gmail.com>
Date: Tue, 19 Sep 2017 21:50:42 +1000
From: Jonathan Liu <net147@...il.com>
To: Russell King <linux@...linux.org.uk>,
Thomas Garnier <thgarnie@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jonathan Liu <net147@...il.com>
Subject: [PATCH] ARM: uaccess: Add missing include for set_thread_flag
Fixes "implicit declaration of function" compile error for out-of-tree
kernel modules including asm/uaccess.h.
Fixes: 73ac5d6a2b6a ("arm/syscalls: Check address limit on user-mode return")
Signed-off-by: Jonathan Liu <net147@...il.com>
---
arch/arm/include/asm/uaccess.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h
index 87936dd5d151..13d1877ffb75 100644
--- a/arch/arm/include/asm/uaccess.h
+++ b/arch/arm/include/asm/uaccess.h
@@ -17,6 +17,7 @@
#include <asm/unified.h>
#include <asm/compiler.h>
+#include <linux/thread_info.h>
#include <asm/extable.h>
/*
--
2.13.2
Powered by blists - more mailing lists