ia64/xen-unstable

changeset 7158:78e1e94e4088

xencons must notify via evtchn. It can't use the irq as the
notification handle because console is used early, before the
irq is set up.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Sep 30 17:34:01 2005 +0100 (2005-09-30)
parents 9918d8c3e116
children 9d047fb99e38
files linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c	Fri Sep 30 17:10:52 2005 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c	Fri Sep 30 17:34:01 2005 +0100
     1.3 @@ -65,7 +65,8 @@ static int __xencons_ring_send(
     1.4  int xencons_ring_send(const char *data, unsigned len)
     1.5  {
     1.6  	int sent = __xencons_ring_send(outring(), data, len);
     1.7 -	notify_remote_via_irq(xencons_irq);
     1.8 +	/* Use evtchn: this is called early, before irq is set up. */
     1.9 +	notify_remote_via_evtchn(xen_start_info->console_evtchn);
    1.10  	return sent;
    1.11  }	
    1.12