Skip to contentSkip to conversation

tile: fix compile failure on start_kernel in setup.c

PATCH In review Paul Gortmaker 2 participants 2 messages May 18, 2012 – May 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tile: fix compile failure on start_kernel in setup.c

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 <[email protected]>
Cc Chris Metcalf <[email protected]>
arch/tile/kernel/setup.c +1 -0
index 8d91ae7..f74105b 100644
@@ -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>
Signature · 1 line
1.7.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Paul Gortmaker

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:

Quoted 7 lines

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 <[email protected]>
Cc Chris Metcalf <[email protected]>
Signature · 2 lines
Chris Metcalf, Tilera Corp.
http://www.tilera.com