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

[Xen-devel] [PATCH 02/11] xen: remove BUG_ON from xen_teardown_timer

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 02/11] xen: remove BUG_ON from xen_teardown_timer
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 28 Jul 2011 15:23:02 +0200
Delivery-date: Thu, 28 Jul 2011 06:28:53 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1311859392; l=654; s=domk; d=aepfle.de; h=References:Subject:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=zmNeQU4VTcl/XCVAoJDbSAHgqMU=; b=njnyuSW3GcKzG8E6hiv2rHw6sXc+/OiqIJqMpLzHv0+uKIdTo3YR/B/l1QCkHap8PJ0 2mSYGIDvzUA+RrC58oRAlSUtYDtxalBSr/HQh4SvAu2KDfpplj+6w8FhypAL5oNAXyNCp EdG0r6s64LFKFvIMNXFyjRFJZPho+lnNq28=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110728132300.248098023@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: quilt/0.48-16.4
cpu #0 has no "online" entry in /sys/devices/system/cpu/cpu0/, so
setting this cpu to offline can not happen by accident.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

---
 arch/x86/xen/time.c |    1 -
 1 file changed, 1 deletion(-)

Index: linux-3.0/arch/x86/xen/time.c
===================================================================
--- linux-3.0.orig/arch/x86/xen/time.c
+++ linux-3.0/arch/x86/xen/time.c
@@ -408,7 +408,6 @@ void xen_setup_timer(int cpu)
 void xen_teardown_timer(int cpu)
 {
        struct clock_event_device *evt;
-       BUG_ON(cpu == 0);
        evt = &per_cpu(xen_clock_events, cpu);
        unbind_from_irqhandler(evt->irq, NULL);
 }


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

<Prev in Thread] Current Thread [Next in Thread>