From: Chen Gang <gang.chen@asianux.com>
To: Yoshinori Sato <ysato@users.sourceforge.jp>,
Al Viro <viro@zeniv.linux.org.uk>,
Paul McKenney <paulmck@linux.vnet.ibm.com>,
"dhowells@redhat.com" <dhowells@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
Michael Kerrisk <mtk.manpages@gmail.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] arch/h8300/kernel/setup.c: implement default 'screen_info'
Date: Thu, 29 Aug 2013 12:15:04 +0800 [thread overview]
Message-ID: <521ECAC8.4050308@asianux.com> (raw)
In-Reply-To: <521EC935.90200@asianux.com>
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@asianux.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
next prev parent reply other threads:[~2013-08-29 4:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-29 4:08 [PATCH] h8300: kernel: ptrace: remove redundancy default user_disable_single_step() Chen Gang
2013-08-29 4:15 ` Chen Gang [this message]
2013-08-29 4:23 ` [Suggestion] h8300: built-in: about "can not find built-in.o" issue Chen Gang
2013-08-29 4:25 ` Chen Gang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=521ECAC8.4050308@asianux.com \
--to=gang.chen@asianux.com \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=tglx@linutronix.de \
--cc=viro@zeniv.linux.org.uk \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox