This is a note to let you know that I've just added the patch titled

    xen/mmu: Fix for linker errors when CONFIG_SMP is not

to the 2.6.39-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     xen-mmu-fix-for-linker-errors-when-config_smp-is-not.patch
and it can be found in the queue-2.6.39 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <sta...@kernel.org> know about it.


>From 32dd11942aeb47f91209a446d6b10063c5b69389 Mon Sep 17 00:00:00 2001
From: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
Date: Thu, 30 Jun 2011 09:12:40 -0400
Subject: xen/mmu: Fix for linker errors when CONFIG_SMP is not
 defined.

From: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>

commit 32dd11942aeb47f91209a446d6b10063c5b69389 upstream.

Simple enough - we use an extern defined symbol which is not
defined when CONFIG_SMP is not defined. This fixes the linker
dying.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gre...@suse.de>

---
 arch/x86/xen/mmu.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -1354,7 +1354,11 @@ static void xen_flush_tlb_others(const s
 {
        struct {
                struct mmuext_op op;
+#ifdef CONFIG_SMP
                DECLARE_BITMAP(mask, num_processors);
+#else
+               DECLARE_BITMAP(mask, NR_CPUS);
+#endif
        } *args;
        struct multicall_space mcs;
 


Patches currently in stable-queue which might be from konrad.w...@oracle.com are

queue-2.6.39/xen-pci-use-the-int_src_ovr-irq-instead-of-gsi-to-preset.patch
queue-2.6.39/xen-partially-revert-xen-set-max_pfn_mapped-to-the-last.patch
queue-2.6.39/xen-pci-move-check-for-acpi_sci_override_gsi-to.patch
queue-2.6.39/xen-support-config_maxsmp.patch
queue-2.6.39/xen-mmu-fix-for-linker-errors-when-config_smp-is-not.patch

_______________________________________________
stable mailing list
stable@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to