summaryrefslogtreecommitdiff
path: root/irq.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:27:52 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:27:52 +0200
commit92206a78c27de6442f1428ccf8cd622fa3364a5a (patch)
tree8e9ae33836784b97ba1b44755f3162ba051cf60c /irq.c
parent829456efb34ab796f7aa743fa7f37a5ecd8b3455 (diff)
irq: rename device_bind_irq_to_cpu to device_set_irq_affinity
This is more appropriate and consistent with other device irq functions. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'irq.c')
-rw-r--r--irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irq.c b/irq.c
index fc2427b..1eed0d5 100644
--- a/irq.c
+++ b/irq.c
@@ -124,7 +124,7 @@ int device_set_irq_affinity_list(int irq, unsigned long from, unsigned long to)
return ret;
}
-int device_bind_irq_to_cpu(int irq, int cpu)
+int device_set_irq_affinity(int irq, unsigned long cpu)
{
return device_set_irq_affinity_list(irq, cpu, cpu);
}