Commit 644bd954 authored by Grant Likely's avatar Grant Likely

irq_domain: convert microblaze from irq_host to irq_domain

Trivial change, microblaze doesn't use irq remapping yet.
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Thomas Gleixner <tglx@linutronix.de>
parent 7bb69bad
...@@ -39,7 +39,7 @@ static inline void irq_dispose_mapping(unsigned int virq) ...@@ -39,7 +39,7 @@ static inline void irq_dispose_mapping(unsigned int virq)
return; return;
} }
struct irq_host; struct irq_domain;
/** /**
* irq_create_mapping - Map a hardware interrupt into linux virq space * irq_create_mapping - Map a hardware interrupt into linux virq space
...@@ -51,7 +51,7 @@ struct irq_host; ...@@ -51,7 +51,7 @@ struct irq_host;
* If the sense/trigger is to be specified, set_irq_type() should be called * If the sense/trigger is to be specified, set_irq_type() should be called
* on the number returned from that call. * 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); irq_hw_number_t hwirq);
#endif /* _ASM_MICROBLAZE_IRQ_H */ #endif /* _ASM_MICROBLAZE_IRQ_H */
...@@ -51,7 +51,7 @@ void __irq_entry do_IRQ(struct pt_regs *regs) ...@@ -51,7 +51,7 @@ void __irq_entry do_IRQ(struct pt_regs *regs)
/* MS: There is no any advance mapping mechanism. We are using simple 32bit /* 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 */ 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; return hwirq + IRQ_OFFSET;
} }
......
...@@ -51,8 +51,6 @@ void __init setup_arch(char **cmdline_p) ...@@ -51,8 +51,6 @@ void __init setup_arch(char **cmdline_p)
unflatten_device_tree(); unflatten_device_tree();
/* NOTE I think that this function is not necessary to call */
/* irq_early_init(); */
setup_cpuinfo(); setup_cpuinfo();
microblaze_cache_init(); microblaze_cache_init();
......
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