diff options
-rw-r--r-- | arch/sparc64/kernel/irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index b5ff3ee5ace1..c443db184371 100644 --- 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) | |||
109 | return ent; | 109 | return ent; |
110 | } | 110 | } |
111 | 111 | ||
112 | #ifdef CONFIG_PCI_MSI | ||
112 | static void virt_irq_free(unsigned int virt_irq) | 113 | static void virt_irq_free(unsigned int virt_irq) |
113 | { | 114 | { |
114 | unsigned int real_irq; | 115 | unsigned int real_irq; |
@@ -121,6 +122,7 @@ static void virt_irq_free(unsigned int virt_irq) | |||
121 | 122 | ||
122 | __bucket(real_irq)->virt_irq = 0; | 123 | __bucket(real_irq)->virt_irq = 0; |
123 | } | 124 | } |
125 | #endif | ||
124 | 126 | ||
125 | static unsigned int virt_to_real_irq(unsigned char virt_irq) | 127 | static unsigned int virt_to_real_irq(unsigned char virt_irq) |
126 | { | 128 | { |