From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linux-kernel@vger.kernel.org
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
Thomas Gleixner <tglx@linutronix.de>,
Chris Metcalf <cmetcalf@tilera.com>
Subject: [PATCH] tile: fix compile failure on start_kernel in setup.c
Date: Fri, 18 May 2012 19:00:21 -0400 [thread overview]
Message-ID: <1337382021-16108-1-git-send-email-paul.gortmaker@windriver.com> (raw)
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
next reply other threads:[~2012-05-18 23:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-18 23:00 Paul Gortmaker [this message]
2012-05-19 1:09 ` Chris Metcalf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337382021-16108-1-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=cmetcalf@tilera.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome