All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: uaccess: Add missing include for set_thread_flag
@ 2017-09-19 11:50 ` Jonathan Liu
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Liu @ 2017-09-19 11:50 UTC (permalink / raw)
  To: linux-arm-kernel

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@gmail.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

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-09-20 22:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 11:50 [PATCH] ARM: uaccess: Add missing include for set_thread_flag Jonathan Liu
2017-09-19 11:50 ` Jonathan Liu
2017-09-19 14:32 ` Thomas Garnier
2017-09-19 14:32   ` Thomas Garnier
2017-09-19 21:35   ` Jonathan Liu
2017-09-19 21:35     ` Jonathan Liu
2017-09-20 16:31     ` Thomas Garnier
2017-09-20 16:31       ` Thomas Garnier
2017-09-20 22:03       ` Jonathan Liu
2017-09-20 22:03         ` Jonathan Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.