diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2011-12-01 12:58:19 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2011-12-03 15:31:49 -0500 |
commit | 0c90547b4a3fcee184db4d54ffc1a4fb17fd54d6 (patch) | |
tree | bbd952d786eecfaf5dd563fa185e0789dcedff44 /drivers | |
parent | 781a5e92bc3b666bc5752e3ce7e977978c2f64e9 (diff) | |
download | linux-0c90547b4a3fcee184db4d54ffc1a4fb17fd54d6.tar.gz linux-0c90547b4a3fcee184db4d54ffc1a4fb17fd54d6.tar.bz2 linux-0c90547b4a3fcee184db4d54ffc1a4fb17fd54d6.zip |
arch/tile: use new generic {enable,disable}_percpu_irq() routines
We provided very similar routines internally, but now we can hook
into the generic framework by supplying our routines as function
pointers in the irq_chip structure instead.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/tile/tilepro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/tile/tilepro.c b/drivers/net/ethernet/tile/tilepro.c index 1c0f9facb9b1..1187a1169eb2 100644 --- a/drivers/net/ethernet/tile/tilepro.c +++ b/drivers/net/ethernet/tile/tilepro.c @@ -926,7 +926,7 @@ static int tile_net_poll(struct napi_struct *napi, int budget) goto done; /* Re-enable the ingress interrupt. */ - enable_percpu_irq(priv->intr_id); + enable_percpu_irq(priv->intr_id, 0); /* HACK: Avoid the "rotting packet" problem (see above). */ if (qup->__packet_receive_read != @@ -1296,7 +1296,7 @@ static void tile_net_open_enable(void *dev_ptr) info->napi_enabled = true; /* Enable the ingress interrupt. */ - enable_percpu_irq(priv->intr_id); + enable_percpu_irq(priv->intr_id, 0); } |