ia64/xen-unstable

changeset 647:e5b8391908e2

bitkeeper revision 1.364 (3f171dea_J-oGqZRBKlB1L8Qsd3KAQ)

xen_kbd.c:
Ooops... previous checkin incomplete.
author kaf24@scramble.cl.cam.ac.uk
date Thu Jul 17 22:06:34 2003 +0000 (2003-07-17)
parents 6650ca532761
children 63be03a97e73
files xen/drivers/char/xen_kbd.c
line diff
     1.1 --- a/xen/drivers/char/xen_kbd.c	Thu Jul 17 21:51:13 2003 +0000
     1.2 +++ b/xen/drivers/char/xen_kbd.c	Thu Jul 17 22:06:34 2003 +0000
     1.3 @@ -197,7 +197,7 @@ static void keyboard_interrupt(int irq, 
     1.4  #ifdef CONFIG_XEN_ATTENTION_KEY
     1.5          if ( !(status & (KBD_STAT_GTO | KBD_STAT_PERR | KBD_STAT_MOUSE_OBF)) )
     1.6          {
     1.7 -            if ( (scancode & (~KBD_SCANCODE_KEYUP_MASK)) == XEN_ATTENTION_KEY )
     1.8 +            if ( (scancode & ~KBD_SCANCODE_KEYUP_MASK) == XEN_ATTENTION_KEY )
     1.9              {
    1.10                  xen_attention_key_down = !(scancode & KBD_SCANCODE_KEYUP_MASK);
    1.11              } 
    1.12 @@ -218,7 +218,7 @@ static void keyboard_interrupt(int irq, 
    1.13          if ( p != NULL )
    1.14          {
    1.15              kbd_ring_push(status, scancode);
    1.16 -            cpu_mask |= mark_guest_event(CONSOLE_OWNER, _EVENT_KBD);
    1.17 +            cpu_mask |= mark_guest_event(p, _EVENT_KBD);
    1.18          }
    1.19      }
    1.20      
    1.21 @@ -231,7 +231,7 @@ static void keyboard_interrupt(int irq, 
    1.22      {
    1.23          put_task_struct(p);
    1.24          guest_event_notify(cpu_mask);
    1.25 -    }    
    1.26 +    }
    1.27  }
    1.28      
    1.29