Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARC: move mcip.h into include/soc and adjust the includes

Also remove the dependency on ARCv2, to increase compile coverage for
!ARCV2 builds

Acked-by: Daniel Lezcano <daniel.lezcnao@linaro.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

+5 -9
+2 -6
arch/arc/include/asm/mcip.h include/soc/arc/mcip.h
··· 8 8 * published by the Free Software Foundation. 9 9 */ 10 10 11 - #ifndef __ASM_MCIP_H 12 - #define __ASM_MCIP_H 13 - 14 - #ifdef CONFIG_ISA_ARCV2 11 + #ifndef __SOC_ARC_MCIP_H 12 + #define __SOC_ARC_MCIP_H 15 13 16 14 #include <soc/arc/aux.h> 17 15 ··· 99 101 100 102 __mcip_cmd(cmd, param); 101 103 } 102 - 103 - #endif 104 104 105 105 #endif
+1 -1
arch/arc/kernel/mcip.c
··· 11 11 #include <linux/smp.h> 12 12 #include <linux/irq.h> 13 13 #include <linux/spinlock.h> 14 + #include <soc/arc/mcip.h> 14 15 #include <asm/irqflags-arcv2.h> 15 - #include <asm/mcip.h> 16 16 #include <asm/setup.h> 17 17 18 18 static DEFINE_RAW_SPINLOCK(mcip_lock);
+1 -1
arch/arc/kernel/time.c
··· 40 40 #include <asm/irq.h> 41 41 #include <asm/arcregs.h> 42 42 43 - #include <asm/mcip.h> 43 + #include <soc/arc/mcip.h> 44 44 45 45 /* Timer related Aux registers */ 46 46 #define ARC_REG_TIMER0_LIMIT 0x23 /* timer 0 limit */
+1 -1
arch/arc/plat-axs10x/axs10x.c
··· 21 21 #include <asm/asm-offsets.h> 22 22 #include <asm/io.h> 23 23 #include <asm/mach_desc.h> 24 - #include <asm/mcip.h> 24 + #include <soc/arc/mcip.h> 25 25 26 26 #define AXS_MB_CGU 0xE0010000 27 27 #define AXS_MB_CREG 0xE0011000