Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1734830

[PATCH] ARM: uaccess: Add missing include for set_thread_flag

From Jonathan Liu <net147@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] ARM: uaccess: Add missing include for set_thread_flag
Date 2017-09-19 13:50 +0200
Message-ID <urpcm-4Vk-29@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: uaccess: Add missing include for set_thread_flag Jonathan Liu <net147@gmail.com> - 2017-09-19 13:50 +0200
  Re: [PATCH] ARM: uaccess: Add missing include for set_thread_flag Thomas Garnier <thgarnie@google.com> - 2017-09-19 16:40 +0200
    Re: [PATCH] ARM: uaccess: Add missing include for set_thread_flag Jonathan Liu <net147@gmail.com> - 2017-09-19 23:40 +0200
      Re: [PATCH] ARM: uaccess: Add missing include for set_thread_flag Thomas Garnier <thgarnie@google.com> - 2017-09-20 18:40 +0200
        Re: [PATCH] ARM: uaccess: Add missing include for set_thread_flag Jonathan Liu <net147@gmail.com> - 2017-09-21 00:10 +0200

csiph-web