projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'stable/xen-pcifront-0.8.2' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
char
/
hvc_xen.c
diff --git
a/drivers/char/hvc_xen.c
b/drivers/char/hvc_xen.c
index 1f7e13a43a880f24cc88085cc766abf62e9384ed..3740e327f1802f0e63bd1cdffba4107cbbf55c7e 100644
(file)
--- a/
drivers/char/hvc_xen.c
+++ b/
drivers/char/hvc_xen.c
@@
-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;
}