[PATCH] fix build error on hppa SMP (was Re: Linux 2.6.28-rc4)

From: Domenico Andreoli
Date: Mon Nov 10 2008 - 10:42:50 EST


On Sun, Nov 09, 2008 at 04:55:42PM -0800, Linus Torvalds wrote:
>
> Rusty Russell (3):
> cpumask: introduce new API, without changing anything
> cpumask: new API, v2
> cpumask: introduce new API, without changing anything, v3

Nothing to change here, go away! :)

---
From: Domenico Andreoli <cavok@xxxxxxxxxxxxx>
Date: Mon, 10 Nov 2008 16:31:07 +0100
Subject: [PATCH] fix build error on hppa SMP

Remove extern declaration of cpu_present_mask.

Fixes build error due to new cpumask API (2d3854a37e8b767a51aba38ed6d22817b0631e33).

Signed-off-by: Domenico Andreoli <cavok@xxxxxxxxxxxxx>
---
arch/parisc/include/asm/smp.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/parisc/include/asm/smp.h b/arch/parisc/include/asm/smp.h
index 398cdba..409e698 100644
--- a/arch/parisc/include/asm/smp.h
+++ b/arch/parisc/include/asm/smp.h
@@ -44,8 +44,6 @@ extern void arch_send_call_function_ipi(cpumask_t mask);

#define PROC_CHANGE_PENALTY 15 /* Schedule penalty */

-extern unsigned long cpu_present_mask;
-
#define raw_smp_processor_id() (current_thread_info()->cpu)

#else /* CONFIG_SMP */
---

-----[ Domenico Andreoli, aka cavok
--[ http://www.dandreoli.com/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
--
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/