ia64/xen-unstable

changeset 1375:623355fbbab9

bitkeeper revision 1.891.1.15 (40a346edDEZplTmrU-NQ88gxKx2MGQ)

Bug fixes.
author kaf24@scramble.cl.cam.ac.uk
date Thu May 13 09:59:09 2004 +0000 (2004-05-13)
parents 3018764ad110
children acc04d188782 6364e3c99d29
files xen/common/schedule.c xenolinux-2.4.26-sparse/arch/xen/drivers/netif/backend/interface.c
line diff
     1.1 --- a/xen/common/schedule.c	Thu May 13 07:29:04 2004 +0000
     1.2 +++ b/xen/common/schedule.c	Thu May 13 09:59:09 2004 +0000
     1.3 @@ -520,7 +520,7 @@ asmlinkage void __enter_scheduler(void)
     1.4  
     1.5      /* Mark a timer event for the newly-scheduled domain. */
     1.6      if ( !is_idle_task(next) )
     1.7 -        evtchn_set_pending(next, VIRQ_TIMER);
     1.8 +        send_guest_virq(next, VIRQ_TIMER);
     1.9      
    1.10      schedule_tail(next);
    1.11  
     2.1 --- a/xenolinux-2.4.26-sparse/arch/xen/drivers/netif/backend/interface.c	Thu May 13 07:29:04 2004 +0000
     2.2 +++ b/xenolinux-2.4.26-sparse/arch/xen/drivers/netif/backend/interface.c	Thu May 13 09:59:09 2004 +0000
     2.3 @@ -116,6 +116,9 @@ void netif_create(netif_be_create_t *cre
     2.4      dev->get_stats       = netif_be_get_stats;
     2.5      memcpy(dev->dev_addr, create->mac, ETH_ALEN);
     2.6  
     2.7 +    /* Disable queuing. */
     2.8 +    dev->tx_queue_len = 0;
     2.9 +
    2.10      /* XXX In bridge mode we should force a different MAC from remote end. */
    2.11      dev->dev_addr[2] ^= 1;
    2.12