All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tile: fix compile failure on start_kernel in setup.c
@ 2012-05-18 23:00 Paul Gortmaker
  2012-05-19  1:09 ` Chris Metcalf
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2012-05-18 23:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Gortmaker, Thomas Gleixner, Chris Metcalf

Commit 293ef7b8288da79112276ddd53902aff75ce7494

    "tile: Use generic init_task"

deleted the file tile/kernel/init_task.c and moved the remaining
needed code to tile/kernel/setup.c -- but this code references
start_kernel and setup.c didn't include that, causing this fail:

arch/tile/kernel/setup.c:69:344: error: 'start_kernel' undeclared here (not in a function)

Adding the obvious include fixes it.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c
index 8d91ae7..f74105b 100644
--- a/arch/tile/kernel/setup.c
+++ b/arch/tile/kernel/setup.c
@@ -26,6 +26,7 @@
 #include <linux/initrd.h>
 #include <linux/io.h>
 #include <linux/highmem.h>
+#include <linux/start_kernel.h>
 #include <linux/smp.h>
 #include <linux/timex.h>
 #include <linux/hugetlb.h>
-- 
1.7.9.1


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

* Re: [PATCH] tile: fix compile failure on start_kernel in setup.c
  2012-05-18 23:00 [PATCH] tile: fix compile failure on start_kernel in setup.c Paul Gortmaker
@ 2012-05-19  1:09 ` Chris Metcalf
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Metcalf @ 2012-05-19  1:09 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linux-kernel, Thomas Gleixner

On 5/18/2012 7:00 PM, Paul Gortmaker wrote:
> Commit 293ef7b8288da79112276ddd53902aff75ce7494
>
>     "tile: Use generic init_task"
>
> deleted the file tile/kernel/init_task.c and moved the remaining
> needed code to tile/kernel/setup.c -- but this code references
> start_kernel and setup.c didn't include that, causing this fail:
>
> arch/tile/kernel/setup.c:69:344: error: 'start_kernel' undeclared here (not in a function)
>
> Adding the obvious include fixes it.
>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Chris Metcalf <cmetcalf@tilera.com>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Acked-by: Chris Metcalf <cmetcalf@tilera.com>

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com


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

end of thread, other threads:[~2012-05-19  1:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18 23:00 [PATCH] tile: fix compile failure on start_kernel in setup.c Paul Gortmaker
2012-05-19  1:09 ` Chris Metcalf

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.