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]
Date:	Thu, 29 Apr 2010 02:56:10 +0200
From:	Peter Huewe <PeterHuewe@....de>
To:	Paul Mundt <lethal@...ux-sh.org>
Cc:	Rusty Russell <rusty@...tcorp.com.au>,
	Matt Fleming <matt@...sole-pimps.org>,
	Mike Travis <travis@....com>, linux-sh@...r.kernel.org,
	linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable

From: Peter Huewe <peterhuewe@....de>

This patch fixes the prototype of native_cpu_disable if
CONFIG_HOTPLUG_CPU is not set, and thus fixes a build failure[1]

References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2536296/

Signed-off-by: Peter Huewe <peterhuewe@....de>
---
KernelVersion: linux-next-20100429

 arch/sh/kernel/smp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c
index 86cd6f9..509b36b 100644
--- a/arch/sh/kernel/smp.c
+++ b/arch/sh/kernel/smp.c
@@ -161,7 +161,7 @@ int __cpu_disable(void)
 	return 0;
 }
 #else /* ... !CONFIG_HOTPLUG_CPU */
-int native_cpu_disable(void)
+int native_cpu_disable(unsigned int cpu)
 {
 	return -ENOSYS;
 }
-- 
1.6.4.4

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