昨日の続き。いろいろ検索してたら、tty: rewrite the ldisc locking というのを発見。LKML ばっか探してたけどまさか載ってないところにあるとは。でもって 1年前にも同じようなことやってたのね。
--- linux-2.6.31/drivers/video/unicon/xl_keyhooks.c.orig 2009-10-21 14:23:52.000000000 +0000 +++ linux-2.6.31/drivers/video/unicon/xl_keyhooks.c 2009-10-20 16:15:23.000000000 +0000 @@ -68,7 +68,7 @@ if (tty == NULL) { return -1; } - tty->ldisc.ops->receive_buf(tty, &ch, &mbz, 1); + tty->ldisc->ops->receive_buf(tty, &ch, &mbz, 1); #ifdef DEBUG printk ("will sending %c, 0x%x\n", ch, ch); #endif
これで完成。
前 | 2009年 10月 |
次 | ||||
日 | 月 | 火 | 水 | 木 | 金 | 土 |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]
書いてる人: dai
パッチ等(無保証)