[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: arm: make smp_send_state_dump a real function


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Thu, 20 Dec 2012 16:11:11 +0000
  • Delivery-date: Thu, 20 Dec 2012 16:11:20 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1355926579 0
# Node ID 41bf7e2d5e8b9606f279ef9d1530f62d12d38ce3
# Parent  73895827e5e00536a28bb31a74306cff571f9b17
xen: arm: make smp_send_state_dump a real function

It still doesn't do anything useful, but at least it isn't in dummy.S!

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 73895827e5e0 -r 41bf7e2d5e8b xen/arch/arm/dummy.S
--- a/xen/arch/arm/dummy.S      Wed Dec 19 14:16:19 2012 +0000
+++ b/xen/arch/arm/dummy.S      Wed Dec 19 14:16:19 2012 +0000
@@ -6,9 +6,6 @@ x:      .word 0xe7f000f0 /* Undefined instruc
        .globl x; \
 x:     mov pc, lr
        
-/* SMP support */
-DUMMY(smp_send_state_dump);
-
 /* PIRQ support */
 DUMMY(alloc_pirq_struct);
 DUMMY(nr_irqs_gsi);
diff -r 73895827e5e0 -r 41bf7e2d5e8b xen/arch/arm/gic.c
--- a/xen/arch/arm/gic.c        Wed Dec 19 14:16:19 2012 +0000
+++ b/xen/arch/arm/gic.c        Wed Dec 19 14:16:19 2012 +0000
@@ -348,6 +348,12 @@ void __init gic_init(void)
     spin_unlock(&gic.lock);
 }
 
+void smp_send_state_dump(unsigned int cpu)
+{
+    printk("WARNING: unable to send state dump request to CPU%d\n", cpu);
+    /* XXX TODO -- send an SGI */
+}
+
 /* Set up the per-CPU parts of the GIC for a secondary CPU */
 void __cpuinit gic_init_secondary_cpu(void)
 {

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.