tile: fix compile failure on start_kernel in setup.c
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.
arch/tile/kernel/setup.c +1 -0
@@ -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
Quoted 8 lines · Paul Gortmaker
Commit
293ef7b8288da79112276ddd53902aff75ce7494"tile: Use generic
init_task"deleted the file
tile/kernel/init_task.cand moved the remaining needed code totile/kernel/setup.c-- but this code referencesstart_kernelandsetup.cdidn'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]>Signed-off-by Paul Gortmaker <[email protected]>
Signature · 2 lines
Chris Metcalf, Tilera Corp. http://www.tilera.com