[PATCH] tile: fix compile failure on start_kernel in setup.c
From: Paul Gortmaker
Date: Fri May 18 2012 - 19:00:45 EST
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@xxxxxxxxxxxxx>
Cc: Chris Metcalf <cmetcalf@xxxxxxxxxx>
Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/