Re: + s390-tty-prepare-for-put_char-to-return-success-fail.patchadded to -mm tree

From: Alan Cox
Date: Tue Apr 15 2008 - 06:15:54 EST


> is allowed or not (1 means yes). Somebody told me that the put_char routine
> will only be called from schedulable context, which now doesn't seem to be
> true?!

It isnt true.

> For the console functions we pass indeed 0 to __sclp_vt220_write since printk
> may be called within any context. Is that also true for the tty put_char
> routine?

Yes, but failing a put_char is perfectly acceptable.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/