projects
/
wrapfs-2.6.35.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5671ba6
)
powerpc/pseries/hvconsole: Fix dropped console output
author
Anton Blanchard
<anton@samba.org>
Tue, 5 Jul 2011 21:51:36 +0000
(21:51 +0000)
committer
Andi Kleen
<ak@linux.intel.com>
Mon, 1 Aug 2011 20:55:01 +0000
(13:55 -0700)
[ upstream commit
51d33021425e1f905beb4208823146f2fb6517da
]
Return -EAGAIN when we get H_BUSY back from the hypervisor. This
makes the hvc console driver retry, avoiding dropped printks.
Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: <stable@kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/powerpc/platforms/pseries/hvconsole.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pseries/hvconsole.c
b/arch/powerpc/platforms/pseries/hvconsole.c
index 3f6a89b09816ee667b323214e3f8efbb949efad7..041e87ca189314cebd032320cf7df53c6fcf2888 100644
(file)
--- a/
arch/powerpc/platforms/pseries/hvconsole.c
+++ b/
arch/powerpc/platforms/pseries/hvconsole.c
@@
-73,7
+73,7
@@
int hvc_put_chars(uint32_t vtermno, const char *buf, int count)
if (ret == H_SUCCESS)
return count;
if (ret == H_BUSY)
- return
0
;
+ return
-EAGAIN
;
return -EIO;
}