Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / ia64 / kernel / irq.c
index 8ed81b252694a008c130632412816761f98a357c..0a8e5e585edc5d9702a53b8aa77701237b9af6b7 100644 (file)
@@ -35,18 +35,6 @@ void ack_bad_irq(unsigned int irq)
        printk(KERN_ERR "Unexpected irq vector 0x%x on CPU %u!\n", irq, smp_processor_id());
 }
 
-#ifdef CONFIG_IA64_GENERIC
-ia64_vector __ia64_irq_to_vector(int irq)
-{
-       return irq_cfg[irq].vector;
-}
-
-unsigned int __ia64_local_vector_to_irq (ia64_vector vec)
-{
-       return __this_cpu_read(vector_irq[vec]);
-}
-#endif
-
 /*
  * Interrupt statistics:
  */
@@ -73,17 +61,6 @@ void set_irq_affinity_info (unsigned int irq, int hwid, int redir)
                irq_redir[irq] = (char) (redir & 0xff);
        }
 }
-
-bool is_affinity_mask_valid(const struct cpumask *cpumask)
-{
-       if (ia64_platform_is("sn2")) {
-               /* Only allow one CPU to be specified in the smp_affinity mask */
-               if (cpumask_weight(cpumask) != 1)
-                       return false;
-       }
-       return true;
-}
-
 #endif /* CONFIG_SMP */
 
 int __init arch_early_irq_init(void)