Loading arch/arc/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,8 @@ endif KBUILD_DEFCONFIG := nsim_700_defconfig cflags-y += -fno-common -pipe -fno-builtin -D__linux__ cflags-${CONFIG_ISA_ARCOMPACT} += -mA7 cflags-${CONFIG_ISA_ARCV2} += -mcpu=archs cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7 cflags-$(CONFIG_ISA_ARCV2) += -mcpu=archs ifdef CONFIG_ARC_CURR_IN_REG # For a global register defintion, make sure it gets passed to every file Loading arch/arc/kernel/process.c +1 −7 Original line number Diff line number Diff line Loading @@ -47,13 +47,7 @@ void arch_cpu_idle(void) if (is_isa_arcompact()) { __asm__("sleep 0x3"); } else { /* default irq priority (<=) which can interrupt the doze */ const int arg = 0x10 | ARCV2_IRQ_DEF_PRIO; __asm__ __volatile__( "sleep %0 \n" : :"r"(arg)); __asm__("sleep 0x10"); } } Loading Loading
arch/arc/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,8 @@ endif KBUILD_DEFCONFIG := nsim_700_defconfig cflags-y += -fno-common -pipe -fno-builtin -D__linux__ cflags-${CONFIG_ISA_ARCOMPACT} += -mA7 cflags-${CONFIG_ISA_ARCV2} += -mcpu=archs cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7 cflags-$(CONFIG_ISA_ARCV2) += -mcpu=archs ifdef CONFIG_ARC_CURR_IN_REG # For a global register defintion, make sure it gets passed to every file Loading
arch/arc/kernel/process.c +1 −7 Original line number Diff line number Diff line Loading @@ -47,13 +47,7 @@ void arch_cpu_idle(void) if (is_isa_arcompact()) { __asm__("sleep 0x3"); } else { /* default irq priority (<=) which can interrupt the doze */ const int arg = 0x10 | ARCV2_IRQ_DEF_PRIO; __asm__ __volatile__( "sleep %0 \n" : :"r"(arg)); __asm__("sleep 0x10"); } } Loading