|
@@ -287,8 +287,12 @@ static inline unsigned short *screenpos(struct vc_data *vc, int offset, int view
|
|
|
return p;
|
|
|
}
|
|
|
|
|
|
+/* Called from the keyboard irq path.. */
|
|
|
static inline void scrolldelta(int lines)
|
|
|
{
|
|
|
+ /* FIXME */
|
|
|
+ /* scrolldelta needs some kind of consistency lock, but the BKL was
|
|
|
+ and still is not protecting versus the scheduled back end */
|
|
|
scrollback_delta += lines;
|
|
|
schedule_console_callback();
|
|
|
}
|
|
@@ -2616,8 +2620,6 @@ int tioclinux(struct tty_struct *tty, unsigned long arg)
|
|
|
return -EFAULT;
|
|
|
ret = 0;
|
|
|
|
|
|
- lock_kernel();
|
|
|
-
|
|
|
switch (type)
|
|
|
{
|
|
|
case TIOCL_SETSEL:
|
|
@@ -2692,7 +2694,6 @@ int tioclinux(struct tty_struct *tty, unsigned long arg)
|
|
|
ret = -EINVAL;
|
|
|
break;
|
|
|
}
|
|
|
- unlock_kernel();
|
|
|
return ret;
|
|
|
}
|
|
|
|