|
@@ -332,7 +332,7 @@ sclp_tty_write_string(const unsigned char *str, int count)
|
|
if (sclp_ttybuf == NULL) {
|
|
if (sclp_ttybuf == NULL) {
|
|
while (list_empty(&sclp_tty_pages)) {
|
|
while (list_empty(&sclp_tty_pages)) {
|
|
spin_unlock_irqrestore(&sclp_tty_lock, flags);
|
|
spin_unlock_irqrestore(&sclp_tty_lock, flags);
|
|
- if (in_interrupt())
|
|
|
|
|
|
+ if (in_atomic())
|
|
sclp_sync_wait();
|
|
sclp_sync_wait();
|
|
else
|
|
else
|
|
wait_event(sclp_tty_waitq,
|
|
wait_event(sclp_tty_waitq,
|