diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-05-04 23:25:12 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2015-05-11 17:22:20 +0200 |
commit | b4287df82991ca608f44d7ac12ad9b3bc39d5baa (patch) | |
tree | ea4d20b3e8971dd6526b366cbfa2fb1770bfd277 /arch/tile/include | |
parent | tile: add <asm/word-at-a-time.h> and enable support functions (diff) | |
download | linux-b4287df82991ca608f44d7ac12ad9b3bc39d5baa.tar.xz linux-b4287df82991ca608f44d7ac12ad9b3bc39d5baa.zip |
drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN
We were returning zero if no bytes could be written to the Tilera
hypervisor console device, but this causes the output to be truncated.
By returning -EAGAIN the tty hvc driver will come back and try again,
which gives the semantics we want, and avoids dropping console output.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile/include')
0 files changed, 0 insertions, 0 deletions