lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1337382021-16108-1-git-send-email-paul.gortmaker@windriver.com>
Date:	Fri, 18 May 2012 19:00:21 -0400
From:	Paul Gortmaker <paul.gortmaker@...driver.com>
To:	linux-kernel@...r.kernel.org
Cc:	Paul Gortmaker <paul.gortmaker@...driver.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Chris Metcalf <cmetcalf@...era.com>
Subject: [PATCH] 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 <tglx@...utronix.de>
Cc: Chris Metcalf <cmetcalf@...era.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ