lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <521ECAC8.4050308@asianux.com>
Date:	Thu, 29 Aug 2013 12:15:04 +0800
From:	Chen Gang <gang.chen@...anux.com>
To:	Yoshinori Sato <ysato@...rs.sourceforge.jp>,
	Al Viro <viro@...iv.linux.org.uk>,
	Paul McKenney <paulmck@...ux.vnet.ibm.com>,
	"dhowells@...hat.com" <dhowells@...hat.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Michael Kerrisk <mtk.manpages@...il.com>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] arch/h8300/kernel/setup.c: implement default 'screen_info'

Need implement default 'screen_info' just like another architectures
(tile, cris, score, sh), or can not pass compiling for defconfig:

The related error:

  drivers/video/console/vgacon.c:820: undefined reference to `screen_info'
  drivers/video/console/vgacon.c:840: undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_init':
  drivers/video/console/vgacon.c:589: undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_startup':
  drivers/video/console/vgacon.c:375: undefined reference to `screen_info'
  drivers/video/console/vgacon.c:387: undefined reference to `screen_info'
  drivers/built-in.o:/root/linux-next/drivers/video/console/vgacon.c:388: more undefined references to `screen_info' follow


Signed-off-by: Chen Gang <gang.chen@...anux.com>
---
 arch/h8300/kernel/setup.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c
index d0b1607..488b94c 100644
--- a/arch/h8300/kernel/setup.c
+++ b/arch/h8300/kernel/setup.c
@@ -31,6 +31,7 @@
 #include <linux/bootmem.h>
 #include <linux/seq_file.h>
 #include <linux/init.h>
+#include <linux/screen_info.h>
 
 #include <asm/setup.h>
 #include <asm/irq.h>
@@ -49,6 +50,10 @@
 
 #define STUBSIZE 0xc000
 
+#ifdef CONFIG_VT
+struct screen_info screen_info;
+#endif
+
 unsigned long rom_length;
 unsigned long memory_start;
 unsigned long memory_end;
-- 
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ