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>] [day] [month] [year] [list]
Message-ID: <20081012043335.GD31153@cs181140183.pp.htv.fi>
Date:	Sun, 12 Oct 2008 07:33:36 +0300
From:	Adrian Bunk <bunk@...nel.org>
To:	Manfred Spraul <manfred@...orfullife.com>, takata@...ux-m32r.org
Cc:	linux-m32r@...linux-m32r.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: [2.6 patch] m32r/kernel/smpboot.c must #include <linux/cpu.h>

This patch fixes the following compile error caused by
commit e545a6140b698b2494daf0b32107bdcc5e90139
(kernel/cpu.c: create a CPU_STARTING cpu_chain notifier):

<--  snip  -->

...
  CC      arch/m32r/kernel/smpboot.o
arch/m32r/kernel/smpboot.c: In function 'smp_online':
arch/m32r/kernel/smpboot.c:501: error: implicit declaration of function 'notify_cpu_starting'
make[2]: *** [arch/m32r/kernel/smpboot.o] Error 1

<--  snip  -->


Signed-off-by: Adrian Bunk <bunk@...nel.org>

---

diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c
index fc29948..938f65e 100644
--- a/arch/m32r/kernel/smpboot.c
+++ b/arch/m32r/kernel/smpboot.c
@@ -48,6 +48,7 @@
 #include <linux/irq.h>
 #include <linux/bootmem.h>
 #include <linux/delay.h>
+#include <linux/cpu.h>
 
 #include <asm/io.h>
 #include <asm/pgalloc.h>

--
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