xen/hvc: only notify if we actually sent something
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 14 Oct 2010 18:38:47 +0000 (11:38 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 22 Oct 2010 19:57:33 +0000 (12:57 -0700)
commit403a85ff001710bb92689790b9a5c1c80e4b37a6
treebc327eeea8c57f7f395a442671260ccda981e799
parent3654581e47adc07072aebe239818485b68ea04f0
xen/hvc: only notify if we actually sent something

Don't spam dom0/xenconsoled with events unless we've actually added
something to the ring.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/char/hvc_xen.c