diary/Nagura

 727日

・まあもういいかなあ? Plamo-6.0 x86_64

 Atom330なマザーlinux-4.1.13が起動してくれないので
 linux-3.18.24に戻してみたらコンパイルエラー。

 # cat vt.c.rej
 --- drivers/tty/vt/vt.c 2014-12-08 07:21:05.000000000 +0900
 +++ drivers/tty/vt/vt.c 2014-12-13 06:28:25.000000000 +0900
 @@ -540,16 +576,30 @@ void invert_screen(struct vc_data *vc, i  void complement_pos(struct vc_data *vc, int offset)
  {
  static int old_offset = -1;
 +#ifdef CONFIG_UNICON
 + static unsigned short old = 0;
 + static unsigned short oldx = 0, oldy = 0;
 + static unsigned short *p_ext = NULL;
 + static unsigned short old_ext = 0;
 +#else
  static unsigned short old;
  static unsigned short oldx, oldy;
 +#endif

    WARN_CONSOLE_UNLOCKED();
 
  if (old_offset != -1 && old_offset >= 0 &&
  old_offset < vc->vc_screenbuf_size) {
  scr_writew(old, screenpos(vc, old_offset, 1));
 +#ifdef CONFIG_UNICON
 + //scr_writew(old_ext, screenpos_ext(vc, old_offset, 1));
 +#endif
  if (DO_UPDATE(vc))~   +#ifdef CONFIG_UNICON
 + vc->vc_sw->con_putc(vc, (old_ext<<16) | old, oldy, oldx);
 +#else
  vc->vc_sw->con_putc(vc, old, oldy, oldx);
 +#endif
  }

  old_offset = offset;

  パッチがあたっていないようだ

 PlamoメインはLinux-4.2.xでlinux-4.1.xでもおこられるレベル。
 どうしようかなあ?
 linux-3.18.22まではよかったようなはず。



トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2021-12-17 (金) 16:35:42