ia64/xen-unstable

diff xen/include/xeno/netdevice.h @ 945:db2e1ea917df

bitkeeper revision 1.596.1.3 (3fb3b41eWUoRU0H8A0jEX5roXjxKkA)

Many files:
Greatly simplified Xen softirqs. They are now only executed in outermost Xen activation; they are never called within an irq context.
author kaf24@scramble.cl.cam.ac.uk
date Thu Nov 13 16:41:02 2003 +0000 (2003-11-13)
parents 125f43340354
children 7a554cbf0f58
line diff
     1.1 --- a/xen/include/xeno/netdevice.h	Thu Nov 13 10:57:10 2003 +0000
     1.2 +++ b/xen/include/xeno/netdevice.h	Thu Nov 13 16:41:02 2003 +0000
     1.3 @@ -466,19 +466,6 @@ extern int		dev_ioctl(unsigned int cmd, 
     1.4  extern int		dev_change_flags(struct net_device *, unsigned);
     1.5  extern void		dev_init(void);
     1.6  
     1.7 -extern int		netdev_nit;
     1.8 -
     1.9 -/* Post buffer to the network code from _non interrupt_ context.
    1.10 - * see net/core/dev.c for netif_rx description.
    1.11 - */
    1.12 -static inline int netif_rx_ni(struct sk_buff *skb)
    1.13 -{
    1.14 -       int err = netif_rx(skb);
    1.15 -       if (softirq_pending(smp_processor_id()))
    1.16 -               do_softirq();
    1.17 -       return err;
    1.18 -}
    1.19 -
    1.20  extern int netdev_finish_unregister(struct net_device *dev);
    1.21  
    1.22  static inline void dev_put(struct net_device *dev)