All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] arc: kernel: add default extern variable 'screen_info' in "setup.c"
@ 2013-11-28  9:07 Chen Gang
  2013-12-06  0:58 ` rkuo
  0 siblings, 1 reply; 13+ messages in thread
From: Chen Gang @ 2013-11-28  9:07 UTC (permalink / raw)
  To: Vineet Gupta, Geert Uytterhoeven, Arnd Bergmann,
	sachin.kamat@linaro.org, Paul Gortmaker, James Hogan,
	linux-kernel@vger.kernel.org
  Cc: Will Deacon, Catalin Marinas, Richard Kuo

Hello Vineet:

hexagon meets the same issue, could you help send related patch for it?

If you have no time, please let me know, I should send it within next
month.

BTW: I assume hexagon need not support VGA_CONSOLE, either, if it is
incorrect, please let me know thanks.


> On 10/24/2013 07:50 PM, Vineet Gupta wrote:
>> On 10/24/2013 04:56 PM, Chen Gang wrote:
>>> If what you said is correct, could you help to send related patch for
>>> it? if I send this kind of patches, it will be easily redirected to
>>> "/dev/null".
>> 
>> Geert has explained the state of things quite nicely. Please send your patch to
>> introduce HAVE_xxx. I'm sure maintainers will respond to it as it is the correct
>> thing to do. But I don't want to add bloat to kernel for a random defconfig
>> failure which no one will really use for ARC.
>> 
>> If you think u can't/won't do it - let me know and I'll send the patches instead.
>> 
>
> Please help send.
> 
> Thanks. :-)
>

-- 
Chen Gang

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH] arc: kernel: add default extern variable 'screen_info' in "setup.c"
@ 2013-10-23 11:09 Chen Gang
  2013-10-23 13:47 ` Vineet Gupta
  0 siblings, 1 reply; 13+ messages in thread
From: Chen Gang @ 2013-10-23 11:09 UTC (permalink / raw)
  To: vgupta@synopsys.com, Arnd Bergmann, sachin.kamat, Paul Gortmaker,
	James Hogan
  Cc: linux-kernel@vger.kernel.org

Add default 'screen_info' just like some of other architectures (e.g.
cris, score, sh, tile), or can not pass compiling.

The related error (with allmodconfig):

  drivers/built-in.o: In function `vgacon_save_screen':
  drivers/video/console/vgacon.c:1347: undefined reference to `screen_info'
  drivers/video/console/vgacon.c:1348: undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_resize':
  drivers/video/console/vgacon.c:1314: undefined reference to `screen_info'
  drivers/video/console/vgacon.c:1315: undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_switch':
  drivers/video/console/vgacon.c:820: undefined reference to `screen_info'
  drivers/built-in.o:drivers/video/console/vgacon.c:840: more undefined references to `screen_info' follow


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

diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 2c68bc7e..07130f3 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -15,6 +15,7 @@
 #include <linux/cpu.h>
 #include <linux/of_fdt.h>
 #include <linux/cache.h>
+#include <linux/screen_info.h>
 #include <asm/sections.h>
 #include <asm/arcregs.h>
 #include <asm/tlb.h>
@@ -37,6 +38,8 @@ struct task_struct *_current_task[NR_CPUS];	/* For stack switching */
 
 struct cpuinfo_arc cpuinfo_arc700[NR_CPUS];
 
+struct screen_info screen_info;
+
 
 void read_arc_build_cfg_regs(void)
 {
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-12-24  3:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28  9:07 [PATCH] arc: kernel: add default extern variable 'screen_info' in "setup.c" Chen Gang
2013-12-06  0:58 ` rkuo
2013-12-06  2:03   ` Chen Gang
2013-12-24  3:18   ` Chen Gang
  -- strict thread matches above, loose matches on Subject: below --
2013-10-23 11:09 Chen Gang
2013-10-23 13:47 ` Vineet Gupta
2013-10-24  2:56   ` Chen Gang
2013-10-24  8:30     ` Geert Uytterhoeven
2013-10-24 11:23       ` Chen Gang
2013-10-24 11:50         ` Vineet Gupta
2013-10-26  2:11           ` Chen Gang
2013-10-24 11:51         ` Geert Uytterhoeven
2013-10-26  2:13           ` Chen Gang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.