Commit d971b2bf authored by David Mosberger's avatar David Mosberger

ia64: Nuke two compiler-warnings.

parent 511c4a5d
......@@ -21,6 +21,11 @@ hpsim_irq_noop (unsigned int irq)
{
}
static void
hpsim_set_affinity_noop (unsigned int a, cpumask_t b)
{
}
static struct hw_interrupt_type irq_type_hp_sim = {
.typename = "hpsim",
.startup = hpsim_irq_startup,
......@@ -29,7 +34,7 @@ static struct hw_interrupt_type irq_type_hp_sim = {
.disable = hpsim_irq_noop,
.ack = hpsim_irq_noop,
.end = hpsim_irq_noop,
.set_affinity = (void (*)(unsigned int, unsigned long)) hpsim_irq_noop,
.set_affinity = hpsim_set_affinity_noop,
};
void __init
......
......@@ -128,8 +128,6 @@ static int cmc_polling_enabled = 1;
*/
static int cpe_poll_enabled = 1;
static int cpe_vector = -1;
extern void salinfo_log_wakeup(int type, u8 *buffer, u64 size, int irqsafe);
/*
......@@ -274,6 +272,8 @@ ia64_mca_log_sal_error_record(int sal_info_type)
#ifdef CONFIG_ACPI
static int cpe_vector = -1;
static irqreturn_t
ia64_mca_cpe_int_handler (int cpe_irq, void *arg, struct pt_regs *ptregs)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment