Commit 83454d6b authored by David Mosberger's avatar David Mosberger

ia64: Nuke two warnings in mca.c that showed in the simulator configuration.

parent e3b1acd4
...@@ -267,6 +267,8 @@ ia64_mca_log_sal_error_record(int sal_info_type) ...@@ -267,6 +267,8 @@ ia64_mca_log_sal_error_record(int sal_info_type)
*/ */
#ifndef PLATFORM_MCA_HANDLERS #ifndef PLATFORM_MCA_HANDLERS
#ifdef CONFIG_ACPI
static irqreturn_t static irqreturn_t
ia64_mca_cpe_int_handler (int cpe_irq, void *arg, struct pt_regs *ptregs) ia64_mca_cpe_int_handler (int cpe_irq, void *arg, struct pt_regs *ptregs)
{ {
...@@ -281,6 +283,8 @@ ia64_mca_cpe_int_handler (int cpe_irq, void *arg, struct pt_regs *ptregs) ...@@ -281,6 +283,8 @@ ia64_mca_cpe_int_handler (int cpe_irq, void *arg, struct pt_regs *ptregs)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
#endif /* CONFIG_ACPI */
static void static void
show_min_state (pal_min_state_area_t *minstate) show_min_state (pal_min_state_area_t *minstate)
{ {
...@@ -967,6 +971,8 @@ ia64_mca_cmc_poll (unsigned long dummy) ...@@ -967,6 +971,8 @@ ia64_mca_cmc_poll (unsigned long dummy)
* Outputs * Outputs
* handled * handled
*/ */
#ifdef CONFIG_ACPI
static irqreturn_t static irqreturn_t
ia64_mca_cpe_int_caller(int cpe_irq, void *arg, struct pt_regs *ptregs) ia64_mca_cpe_int_caller(int cpe_irq, void *arg, struct pt_regs *ptregs)
{ {
...@@ -1003,6 +1009,8 @@ ia64_mca_cpe_int_caller(int cpe_irq, void *arg, struct pt_regs *ptregs) ...@@ -1003,6 +1009,8 @@ ia64_mca_cpe_int_caller(int cpe_irq, void *arg, struct pt_regs *ptregs)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
#endif /* CONFIG_ACPI */
/* /*
* ia64_mca_cpe_poll * ia64_mca_cpe_poll
* *
......
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