Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d966115 authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile: bomb raw_local_irq_ to arch_local_irq_



This completes the tile migration to the new naming scheme for
the architecture-specific irq management code.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent 38a6f426
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ void early_printk(const char *fmt, ...)
void early_panic(const char *fmt, ...)
{
	va_list ap;
	raw_local_irq_disable_all();
	arch_local_irq_disable_all();
	va_start(ap, fmt);
	early_printk("Kernel panic - not syncing: ");
	early_vprintk(fmt, ap);
+2 −2
Original line number Diff line number Diff line
@@ -151,12 +151,12 @@ enum direction_protect {

static void enable_firewall_interrupts(void)
{
	raw_local_irq_unmask_now(INT_UDN_FIREWALL);
	arch_local_irq_unmask_now(INT_UDN_FIREWALL);
}

static void disable_firewall_interrupts(void)
{
	raw_local_irq_mask_now(INT_UDN_FIREWALL);
	arch_local_irq_mask_now(INT_UDN_FIREWALL);
}

/* Set up hardwall on this cpu based on the passed hardwall_info. */
+2 −2
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
#define IS_HW_CLEARED 1

/*
 * The set of interrupts we enable for raw_local_irq_enable().
 * The set of interrupts we enable for arch_local_irq_enable().
 * This is initialized to have just a single interrupt that the kernel
 * doesn't actually use as a sentinel.  During kernel init,
 * interrupts are added as the kernel gets prepared to support them.
@@ -225,7 +225,7 @@ void __cpuinit setup_irq_regs(void)
	/* Enable interrupt delivery. */
	unmask_irqs(~0UL);
#if CHIP_HAS_IPI()
	raw_local_irq_unmask(INT_IPI_K);
	arch_local_irq_unmask(INT_IPI_K);
#endif
}

+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ void __cpuinit init_messaging(void)
		panic("hv_register_message_state: error %d", rc);

	/* Make sure downcall interrupts will be enabled. */
	raw_local_irq_unmask(INT_INTCTRL_K);
	arch_local_irq_unmask(INT_INTCTRL_K);
}

void hv_message_intr(struct pt_regs *regs, int intnum)
+3 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
void machine_halt(void)
{
	warn_early_printk();
	raw_local_irq_disable_all();
	arch_local_irq_disable_all();
	smp_send_stop();
	hv_halt();
}
@@ -35,14 +35,14 @@ void machine_halt(void)
void machine_power_off(void)
{
	warn_early_printk();
	raw_local_irq_disable_all();
	arch_local_irq_disable_all();
	smp_send_stop();
	hv_power_off();
}

void machine_restart(char *cmd)
{
	raw_local_irq_disable_all();
	arch_local_irq_disable_all();
	smp_send_stop();
	hv_restart((HV_VirtAddr) "vmlinux", (HV_VirtAddr) cmd);
}
Loading