All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] c6x: kernel: setup: Add screen_info global variable
@ 2015-03-04  6:12 Chen Gang
  2015-03-26 14:57 ` Mark Salter
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Gang @ 2015-03-04  6:12 UTC (permalink / raw)
  To: msalter, a-jacquiot; +Cc: linux-c6x-dev, linux-kernel

Or can not pass building with allmodconfig:

    LD      init/built-in.o
  drivers/built-in.o: In function `vgacon_switch':
  vgacon.c:(.text+0x47f8): undefined reference to `screen_info'
  vgacon.c:(.text+0x4810): undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_resize':
  vgacon.c:(.text+0x4ac8): undefined reference to `screen_info'
  vgacon.c:(.text+0x4acc): undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_save_screen':
  vgacon.c:(.text+0x4cc8): undefined reference to `screen_info'
  drivers/built-in.o:vgacon.c:(.text+0x4cd0): more undefined references to `screen_info' follow

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 arch/c6x/kernel/setup.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/c6x/kernel/setup.c b/arch/c6x/kernel/setup.c
index 1d9f399..165bbd9 100644
--- a/arch/c6x/kernel/setup.c
+++ b/arch/c6x/kernel/setup.c
@@ -27,6 +27,7 @@
 #include <linux/fs.h>
 #include <linux/of.h>
 #include <linux/console.h>
+#include <linux/screen_info.h>
 
 #include <asm/sections.h>
 #include <asm/div64.h>
@@ -38,6 +39,8 @@
 
 static const char *c6x_soc_name;
 
+struct screen_info screen_info;
+
 int c6x_num_cores;
 EXPORT_SYMBOL_GPL(c6x_num_cores);
 
-- 
1.9.3

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

* Re: [PATCH] c6x: kernel: setup: Add screen_info global variable
  2015-03-04  6:12 [PATCH] c6x: kernel: setup: Add screen_info global variable Chen Gang
@ 2015-03-26 14:57 ` Mark Salter
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Salter @ 2015-03-26 14:57 UTC (permalink / raw)
  To: Chen Gang; +Cc: a-jacquiot, linux-c6x-dev, linux-kernel

On Wed, 2015-03-04 at 14:12 +0800, Chen Gang wrote:
> Or can not pass building with allmodconfig:
> 
>     LD      init/built-in.o
>   drivers/built-in.o: In function `vgacon_switch':
>   vgacon.c:(.text+0x47f8): undefined reference to `screen_info'
>   vgacon.c:(.text+0x4810): undefined reference to `screen_info'
>   drivers/built-in.o: In function `vgacon_resize':
>   vgacon.c:(.text+0x4ac8): undefined reference to `screen_info'
>   vgacon.c:(.text+0x4acc): undefined reference to `screen_info'
>   drivers/built-in.o: In function `vgacon_save_screen':
>   vgacon.c:(.text+0x4cc8): undefined reference to `screen_info'
>   drivers/built-in.o:vgacon.c:(.text+0x4cd0): more undefined references to `screen_info' follow
> 
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---

Thanks! I added this to the c6x tree for next merge window.

>  arch/c6x/kernel/setup.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/c6x/kernel/setup.c b/arch/c6x/kernel/setup.c
> index 1d9f399..165bbd9 100644
> --- a/arch/c6x/kernel/setup.c
> +++ b/arch/c6x/kernel/setup.c
> @@ -27,6 +27,7 @@
>  #include <linux/fs.h>
>  #include <linux/of.h>
>  #include <linux/console.h>
> +#include <linux/screen_info.h>
>  
>  #include <asm/sections.h>
>  #include <asm/div64.h>
> @@ -38,6 +39,8 @@
>  
>  static const char *c6x_soc_name;
>  
> +struct screen_info screen_info;
> +
>  int c6x_num_cores;
>  EXPORT_SYMBOL_GPL(c6x_num_cores);
>  



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

end of thread, other threads:[~2015-03-26 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04  6:12 [PATCH] c6x: kernel: setup: Add screen_info global variable Chen Gang
2015-03-26 14:57 ` Mark Salter

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.