projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cacfd56
)
[SPARC64]: virt_irq_free only needed when CONFIG_PCI_MSI
author
David S. Miller
<davem@sunset.davemloft.net>
Tue, 20 Feb 2007 09:26:48 +0000
(
01:26
-0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:35:46 +0000
(11:35 -0800)
Noticed by Meelis Roos.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/irq.c
b/arch/sparc64/kernel/irq.c
index b5ff3ee5ace1cc23d3a86cd50878568b505ea7d8..c443db1843719f9937463adea56b10ad6690f5ef 100644
(file)
--- a/
arch/sparc64/kernel/irq.c
+++ b/
arch/sparc64/kernel/irq.c
@@
-109,6
+109,7
@@
static unsigned char virt_irq_alloc(unsigned int real_irq)
return ent;
}
return ent;
}
+#ifdef CONFIG_PCI_MSI
static void virt_irq_free(unsigned int virt_irq)
{
unsigned int real_irq;
static void virt_irq_free(unsigned int virt_irq)
{
unsigned int real_irq;
@@
-121,6
+122,7
@@
static void virt_irq_free(unsigned int virt_irq)
__bucket(real_irq)->virt_irq = 0;
}
__bucket(real_irq)->virt_irq = 0;
}
+#endif
static unsigned int virt_to_real_irq(unsigned char virt_irq)
{
static unsigned int virt_to_real_irq(unsigned char virt_irq)
{