WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86 cpufreq: Fix debug=y build.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86 cpufreq: Fix debug=y build.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Jul 2010 10:25:26 -0700
Delivery-date: Tue, 13 Jul 2010 10:27:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1278928084 -3600
# Node ID 03f5833933004141acf5b303f3306c52289e9f4f
# Parent  08b2222ff505319a5cabebef4155808cb89f06b3
x86 cpufreq: Fix debug=y build.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/acpi/cpufreq/cpufreq.c |    2 +-
 xen/include/xen/cpumask.h           |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -r 08b2222ff505 -r 03f583393300 xen/arch/x86/acpi/cpufreq/cpufreq.c
--- a/xen/arch/x86/acpi/cpufreq/cpufreq.c       Mon Jul 12 10:43:57 2010 +0100
+++ b/xen/arch/x86/acpi/cpufreq/cpufreq.c       Mon Jul 12 10:48:04 2010 +0100
@@ -180,7 +180,7 @@ static void drv_read(struct drv_cmd *cmd
 {
     cmd->val = 0;
 
-    ASSERT(cpus_weight(cmd->mask) == 1);
+    ASSERT(cpumask_weight(cmd->mask) == 1);
 
     /* to reduce IPI for the sake of performance */
     if (likely(cpumask_test_cpu(smp_processor_id(), cmd->mask)))
diff -r 08b2222ff505 -r 03f583393300 xen/include/xen/cpumask.h
--- a/xen/include/xen/cpumask.h Mon Jul 12 10:43:57 2010 +0100
+++ b/xen/include/xen/cpumask.h Mon Jul 12 10:48:04 2010 +0100
@@ -192,6 +192,7 @@ static inline int __cpus_full(const cpum
        return bitmap_full(srcp->bits, nbits);
 }
 
+#define cpumask_weight(cpumask) __cpus_weight(cpumask, NR_CPUS)
 #define cpus_weight(cpumask) __cpus_weight(&(cpumask), NR_CPUS)
 static inline int __cpus_weight(const cpumask_t *srcp, int nbits)
 {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86 cpufreq: Fix debug=y build., Xen patchbot-unstable <=