tty: improve behaviour of O_NDELAY
authorAlan Cox <alan@linux.intel.com>
Fri, 17 Aug 2018 09:44:49 +0000 (10:44 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 17 Aug 2018 09:44:49 +0000 (10:44 +0100)
commitca65d8a7fcc2217406320d4ae09a26bf68555632
tree695c4bc8d5ec302e141a29bb2b313130a0349b23
parent1ad9796089179fabf0f3fe98d6959ea2e6ae9bc3
tty: improve behaviour of O_NDELAY

We want to bale out on a polled output port on a reschedule not just sit
assuming the bits will go out shortly
Kernel/tty.c