On 08/23/2011 07:36 PM, gregkh@suse.de wrote: > diff --git a/include/linux/tty.h b/include/linux/tty.h > index 44bc0c5..6d5eceb 100644 > --- a/include/linux/tty.h > +++ b/include/linux/tty.h > @@ -600,8 +600,6 @@ extern long vt_compat_ioctl(struct tty_struct *tty, > /* functions for preparation of BKL removal */ > extern void __lockfunc tty_lock(void) __acquires(tty_lock); > extern void __lockfunc tty_unlock(void) __releases(tty_lock); > -extern struct task_struct *__big_tty_mutex_owner; > -#define tty_locked() (current == __big_tty_mutex_owner) It looks like I need tty_locked to fix system stalls in tty_wait_until_sent in the end. Like with the patch attached. But if someone finds another way to fix this in short-term, it would be great. thanks, -- js suse labs