ARC: Use <linux/*> headers instead of <asm/*>
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 6 Mar 2013 11:23:44 +0000 (16:53 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 9 Apr 2013 06:51:14 +0000 (12:21 +0530)
Silences the following checkpatch warnings:
WARNING: Use #include <linux/ptrace.h> instead of <asm/ptrace.h>
WARNING: Use #include <linux/kprobes.h> instead of <asm/kprobes.h>
WARNING: Use #include <linux/kgdb.h> instead of <asm/kgdb.h>
WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
WARNING: Use #include <linux/cache.h> instead of <asm/cache.h>

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/asm-offsets.c
arch/arc/kernel/disasm.c
arch/arc/kernel/setup.c
arch/arc/kernel/traps.c
arch/arc/mm/ioremap.c

index 0dc148ebce746c5ce814db5d105135a7e6a1ea73..7dcda70252411949b32f8b9b112c9e37bfec0edc 100644 (file)
@@ -11,9 +11,9 @@
 #include <linux/interrupt.h>
 #include <linux/thread_info.h>
 #include <linux/kbuild.h>
+#include <linux/ptrace.h>
 #include <asm/hardirq.h>
 #include <asm/page.h>
-#include <asm/ptrace.h>
 
 int main(void)
 {
index 2f390289a792b333573ccc021b1f1835255c96a0..df957a4dbd603123ce76e8727218d9ad68bf719e 100644 (file)
@@ -12,8 +12,8 @@
 #include <linux/types.h>
 #include <linux/kprobes.h>
 #include <linux/slab.h>
+#include <linux/uaccess.h>
 #include <asm/disasm.h>
-#include <asm/uaccess.h>
 
 #if defined(CONFIG_KGDB) || defined(CONFIG_ARC_MISALIGN_ACCESS) || \
        defined(CONFIG_KPROBES)
index 2d95ac07df7bde15169ff5058d7e53afd2f2d73e..25262045ac5ab7da84b71cf164130956e38d573c 100644 (file)
 #include <linux/module.h>
 #include <linux/cpu.h>
 #include <linux/of_fdt.h>
+#include <linux/cache.h>
 #include <asm/sections.h>
 #include <asm/arcregs.h>
 #include <asm/tlb.h>
-#include <asm/cache.h>
 #include <asm/setup.h>
 #include <asm/page.h>
 #include <asm/irq.h>
index 7496995371e813738725bac8bb68f40c843d476f..1d902f4e357ea801d35c55ef1d5e0f7c826b429d 100644 (file)
 #include <linux/sched.h>
 #include <linux/kdebug.h>
 #include <linux/uaccess.h>
-#include <asm/ptrace.h>
+#include <linux/ptrace.h>
+#include <linux/kprobes.h>
+#include <linux/kgdb.h>
 #include <asm/setup.h>
-#include <asm/kprobes.h>
 #include <asm/unaligned.h>
-#include <asm/kgdb.h>
 
 void __init trap_init(void)
 {
index 3e5c92c79936f302fec7df189dea3796ba7b37c4..739e65f355deac569d68e6fa6bff3d18bce73e3a 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/io.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
-#include <asm/cache.h>
+#include <linux/cache.h>
 
 void __iomem *ioremap(unsigned long paddr, unsigned long size)
 {