Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58205
b: refs/heads/master
c: 9f79058
h: refs/heads/master
i:
  58203: ead931a
v: v3
  • Loading branch information
Olof Johansson authored and Paul Mackerras committed Jul 2, 2007
1 parent 248d5c8 commit 7fb6abc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee5d1b7f2a01ce4d95ca247b5a499b72f31cdbe8
refs/heads/master: 9f7905812e5919862acb6ede63e10d3d1bb4958e
6 changes: 6 additions & 0 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,12 @@ struct irq_map_entry irq_map[NR_IRQS];
static unsigned int irq_virq_count = NR_IRQS;
static struct irq_host *irq_default_host;

irq_hw_number_t virq_to_hw(unsigned int virq)
{
return irq_map[virq].hwirq;
}
EXPORT_SYMBOL_GPL(virq_to_hw);

struct irq_host *irq_alloc_host(unsigned int revmap_type,
unsigned int revmap_arg,
struct irq_host_ops *ops,
Expand Down
5 changes: 1 addition & 4 deletions trunk/include/asm-powerpc/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,7 @@ struct irq_map_entry {

extern struct irq_map_entry irq_map[NR_IRQS];

static inline irq_hw_number_t virq_to_hw(unsigned int virq)
{
return irq_map[virq].hwirq;
}
extern irq_hw_number_t virq_to_hw(unsigned int virq);

/**
* irq_alloc_host - Allocate a new irq_host data structure
Expand Down

0 comments on commit 7fb6abc

Please sign in to comment.