projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c442b80
)
xen: Use new irq_move functions
author
Thomas Gleixner
<
[email protected]
>
Thu, 24 Mar 2011 20:31:25 +0000
(21:31 +0100)
committer
Thomas Gleixner
<
[email protected]
>
Tue, 29 Mar 2011 12:48:15 +0000
(14:48 +0200)
These functions take irq_data as an argument and avoid a redundant
lookup in the sparse irq case.
Signed-off-by: Thomas Gleixner <
[email protected]
>
Cc: Ian Campbell <
[email protected]
>
Cc: Jeremy Fitzhardinge <
[email protected]
>
Cc: Konrad Rzeszutek Wilk <
[email protected]
>
drivers/xen/events.c
patch
|
blob
|
history
diff --git
a/drivers/xen/events.c
b/drivers/xen/events.c
index 0e7e394e42f20c6f141d66d56ee7ee0b2b4b1098..036343ba204eaab47758641c8657cb37bba08f54 100644
(file)
--- a/
drivers/xen/events.c
+++ b/
drivers/xen/events.c
@@
-585,7
+585,7
@@
static void ack_pirq(struct irq_data *data)
{
int evtchn = evtchn_from_irq(data->irq);
-
move_native_irq(data->irq
);
+
irq_move_irq(data
);
if (VALID_EVTCHN(evtchn)) {
mask_evtchn(evtchn);
@@
-1339,7
+1339,7
@@
static void ack_dynirq(struct irq_data *data)
{
int evtchn = evtchn_from_irq(data->irq);
-
move_masked_irq(data->irq
);
+
irq_move_masked_irq(data
);
if (VALID_EVTCHN(evtchn))
unmask_evtchn(evtchn);