From: Jonathan Liu <net147@gmail.com>
To: Russell King <linux@armlinux.org.uk>,
Thomas Garnier <thgarnie@google.com>,
Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Jonathan Liu <net147@gmail.com>
Subject: [PATCH] ARM: uaccess: Add missing include for set_thread_flag
Date: Tue, 19 Sep 2017 21:50:42 +1000 [thread overview]
Message-ID: <20170919115042.6800-1-net147@gmail.com> (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
next reply other threads:[~2017-09-19 11:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-19 11:50 Jonathan Liu [this message]
2017-09-19 14:32 ` Thomas Garnier
2017-09-19 21:35 ` Jonathan Liu
2017-09-20 16:31 ` Thomas Garnier
2017-09-20 22:03 ` Jonathan Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170919115042.6800-1-net147@gmail.com \
--to=net147@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=tglx@linutronix.de \
--cc=thgarnie@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome