]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/char/hvc_xen.c
Merge branch 'stable/xen-pcifront-0.8.2' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / drivers / char / hvc_xen.c
index 1f7e13a43a880f24cc88085cc766abf62e9384ed..3740e327f1802f0e63bd1cdffba4107cbbf55c7e 100644 (file)
@@ -74,7 +74,8 @@ static int __write_console(const char *data, int len)
        wmb();                  /* write ring before updating pointer */
        intf->out_prod = prod;
 
-       notify_daemon();
+       if (sent)
+               notify_daemon();
        return sent;
 }