aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-06-29 17:39:11 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-29 19:37:31 -0400
commit00cde6748255a84beecfdea4caeaf7c9cd05a527 (patch)
treeaa169a0cff50fed0e51eab05952766a6ea16a5fb /arch/sparc64
parentd44b3be88ed58bb1bbbf7d70c533598b3dc3d870 (diff)
[SPARC64] power: Do not pass SA_SHIRQ to request_irq().
This needs to be a unique interrupt source because we do not have a register or similar to poll to make sure the IRQ is really for us. We do not have any dev_id to pass in anyways, and the generic IRQ layer is now enforcing that when SA_SHIRQ is specified, dev_id must be non-NULL. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/kernel/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c
index 9496c7734014..df0a82d082b3 100644
--- a/arch/sparc64/kernel/power.c
+++ b/arch/sparc64/kernel/power.c
@@ -131,7 +131,7 @@ static void __devinit power_probe_common(struct of_device *dev, struct resource
131 printk("powerd running.\n"); 131 printk("powerd running.\n");
132 132
133 if (request_irq(irq, 133 if (request_irq(irq,
134 power_handler, SA_SHIRQ, "power", NULL) < 0) 134 power_handler, 0, "power", NULL) < 0)
135 printk("power: Error, cannot register IRQ handler.\n"); 135 printk("power: Error, cannot register IRQ handler.\n");
136 } else { 136 } else {
137 printk("not using powerd.\n"); 137 printk("not using powerd.\n");