diff options
author | Keir Fraser <keir@xen.org> | 2011-06-16 16:57:22 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-06-16 16:57:22 +0100 |
commit | 2a46078cad635b1876a49309f1bb58cf142340e9 (patch) | |
tree | 44dd0b6737fedbd4908e883977be562216d9c58f /xen/drivers/char/console.c | |
parent | eed054473d2c1d763ea4f1732cae2fa71534cafb (diff) | |
download | xen-2a46078cad635b1876a49309f1bb58cf142340e9.tar.gz xen-2a46078cad635b1876a49309f1bb58cf142340e9.tar.bz2 xen-2a46078cad635b1876a49309f1bb58cf142340e9.zip |
tasklets: Switch a few tasklets to run in softirq context.
There are a couple of others which may also be safe. I've converted
only the most obvious one.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/drivers/char/console.c')
-rw-r--r-- | xen/drivers/char/console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index c8cf8992df..8a4c6845b1 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -316,7 +316,8 @@ static void notify_dom0_con_ring(unsigned long unused) { send_guest_global_virq(dom0, VIRQ_CON_RING); } -static DECLARE_TASKLET(notify_dom0_con_ring_tasklet, notify_dom0_con_ring, 0); +static DECLARE_SOFTIRQ_TASKLET(notify_dom0_con_ring_tasklet, + notify_dom0_con_ring, 0); static long guest_console_write(XEN_GUEST_HANDLE(char) buffer, int count) { |