irq_domain: convert microblaze from irq_host to irq_domain
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 14 Feb 2012 21:06:49 +0000 (14:06 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 14 Feb 2012 21:06:49 +0000 (14:06 -0700)
Trivial change, microblaze doesn't use irq remapping yet.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Thomas Gleixner <tglx@linutronix.de>
arch/microblaze/include/asm/irq.h
arch/microblaze/kernel/irq.c
arch/microblaze/kernel/setup.c

index a175132e44960a752f2aaf29953fb11b556e3499..7798ad14c6105b49b78abb1cf57a07e50cea8ff0 100644 (file)
@@ -39,7 +39,7 @@ static inline void irq_dispose_mapping(unsigned int virq)
        return;
 }
 
-struct irq_host;
+struct irq_domain;
 
 /**
  * irq_create_mapping - Map a hardware interrupt into linux virq space
@@ -51,7 +51,7 @@ struct irq_host;
  * If the sense/trigger is to be specified, set_irq_type() should be called
  * on the number returned from that call.
  */
-extern unsigned int irq_create_mapping(struct irq_host *host,
+extern unsigned int irq_create_mapping(struct irq_domain *host,
                                        irq_hw_number_t hwirq);
 
 #endif /* _ASM_MICROBLAZE_IRQ_H */
index bbebcae72c02f0d5b04598c3a57b1ea48c175aba..3f613dfe5a0752afd7406285b3e6a711d5943de5 100644 (file)
@@ -51,7 +51,7 @@ next_irq:
 
 /* MS: There is no any advance mapping mechanism. We are using simple 32bit
   intc without any cascades or any connection that's why mapping is 1:1 */
-unsigned int irq_create_mapping(struct irq_host *host, irq_hw_number_t hwirq)
+unsigned int irq_create_mapping(struct irq_domain *host, irq_hw_number_t hwirq)
 {
        return hwirq + IRQ_OFFSET;
 }
index 604cd9dd133362712e5220510be83be134d96ec1..70e6d0b41ab4ff31688379fe795a1905f5c5599c 100644 (file)
@@ -51,8 +51,6 @@ void __init setup_arch(char **cmdline_p)
 
        unflatten_device_tree();
 
-       /* NOTE I think that this function is not necessary to call */
-       /* irq_early_init(); */
        setup_cpuinfo();
 
        microblaze_cache_init();