diff options
| author | David S. Miller <davem@davemloft.net> | 2008-03-27 21:48:56 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-03-27 21:48:56 -0400 |
| commit | 8e8e43843ba3ced0c657cbc0fdb10644ec60f772 (patch) | |
| tree | e64954326ced9c365c52c256f01b5f9fb1bcae66 /include/linux/netdevice.h | |
| parent | ed85f2c3b2b72bd20f617ac749f5c22be8d0f66e (diff) | |
| parent | 50fd4407b8bfbde7c1a0bfe4f24de7df37164342 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/usb/rndis_host.c
drivers/net/wireless/b43/dma.c
net/ipv6/ndisc.c
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 15fa84a15c2..3b54f8a2c05 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -383,9 +383,11 @@ static inline void __napi_complete(struct napi_struct *n) | |||
| 383 | 383 | ||
| 384 | static inline void napi_complete(struct napi_struct *n) | 384 | static inline void napi_complete(struct napi_struct *n) |
| 385 | { | 385 | { |
| 386 | local_irq_disable(); | 386 | unsigned long flags; |
| 387 | |||
| 388 | local_irq_save(flags); | ||
| 387 | __napi_complete(n); | 389 | __napi_complete(n); |
| 388 | local_irq_enable(); | 390 | local_irq_restore(flags); |
| 389 | } | 391 | } |
| 390 | 392 | ||
| 391 | /** | 393 | /** |
