sim_console: Fix polling to check for POLLIN
Under some circumstances we get POLLHUP which we incorrectly
treat as having a character in the buffer.
Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
Please register or sign in to comment