aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/include/asm/compat.h5
-rw-r--r--arch/arm64/kernel/hw_breakpoint.c2
-rw-r--r--arch/arm64/kernel/process.c1
-rw-r--r--arch/arm64/kernel/ptrace.c1
-rw-r--r--arch/arm64/kernel/signal.c2
5 files changed, 4 insertions, 7 deletions
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h
index e71f81fe127a..253e33bc94fb 100644
--- a/arch/arm64/include/asm/compat.h
+++ b/arch/arm64/include/asm/compat.h
@@ -305,11 +305,6 @@ static inline int is_compat_thread(struct thread_info *thread)
305 305
306#else /* !CONFIG_COMPAT */ 306#else /* !CONFIG_COMPAT */
307 307
308static inline int is_compat_task(void)
309{
310 return 0;
311}
312
313static inline int is_compat_thread(struct thread_info *thread) 308static inline int is_compat_thread(struct thread_info *thread)
314{ 309{
315 return 0; 310 return 0;
diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c
index bee789757806..df1cf15377b4 100644
--- a/arch/arm64/kernel/hw_breakpoint.c
+++ b/arch/arm64/kernel/hw_breakpoint.c
@@ -20,6 +20,7 @@
20 20
21#define pr_fmt(fmt) "hw-breakpoint: " fmt 21#define pr_fmt(fmt) "hw-breakpoint: " fmt
22 22
23#include <linux/compat.h>
23#include <linux/cpu_pm.h> 24#include <linux/cpu_pm.h>
24#include <linux/errno.h> 25#include <linux/errno.h>
25#include <linux/hw_breakpoint.h> 26#include <linux/hw_breakpoint.h>
@@ -27,7 +28,6 @@
27#include <linux/ptrace.h> 28#include <linux/ptrace.h>
28#include <linux/smp.h> 29#include <linux/smp.h>
29 30
30#include <asm/compat.h>
31#include <asm/current.h> 31#include <asm/current.h>
32#include <asm/debug-monitors.h> 32#include <asm/debug-monitors.h>
33#include <asm/hw_breakpoint.h> 33#include <asm/hw_breakpoint.h>
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c
index f7c446a5e97b..d04eb871cb0e 100644
--- a/arch/arm64/kernel/process.c
+++ b/arch/arm64/kernel/process.c
@@ -20,6 +20,7 @@
20 20
21#include <stdarg.h> 21#include <stdarg.h>
22 22
23#include <linux/compat.h>
23#include <linux/export.h> 24#include <linux/export.h>
24#include <linux/sched.h> 25#include <linux/sched.h>
25#include <linux/kernel.h> 26#include <linux/kernel.h>
diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c
index 6d666dc1cea6..4b58e812cf67 100644
--- a/arch/arm64/kernel/ptrace.c
+++ b/arch/arm64/kernel/ptrace.c
@@ -19,6 +19,7 @@
19 * along with this program. If not, see <http://www.gnu.org/licenses/>. 19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */ 20 */
21 21
22#include <linux/compat.h>
22#include <linux/kernel.h> 23#include <linux/kernel.h>
23#include <linux/sched.h> 24#include <linux/sched.h>
24#include <linux/mm.h> 25#include <linux/mm.h>
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
index dc2ab1b0ac0d..2ba72a11629f 100644
--- a/arch/arm64/kernel/signal.c
+++ b/arch/arm64/kernel/signal.c
@@ -17,6 +17,7 @@
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */ 18 */
19 19
20#include <linux/compat.h>
20#include <linux/errno.h> 21#include <linux/errno.h>
21#include <linux/signal.h> 22#include <linux/signal.h>
22#include <linux/personality.h> 23#include <linux/personality.h>
@@ -25,7 +26,6 @@
25#include <linux/tracehook.h> 26#include <linux/tracehook.h>
26#include <linux/ratelimit.h> 27#include <linux/ratelimit.h>
27 28
28#include <asm/compat.h>
29#include <asm/debug-monitors.h> 29#include <asm/debug-monitors.h>
30#include <asm/elf.h> 30#include <asm/elf.h>
31#include <asm/cacheflush.h> 31#include <asm/cacheflush.h>