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

[Xen-devel] [PATCH] cpu_user_regs * to __smp_call_function_interrupt



Hi,

Following simple and tiny patch will help prevent many un-necessary ifdef's in kdb, if you'll please apply.

Thanks,
Mukesh
diff -r 55ca7ef865b4 xen/arch/x86/smp.c
--- a/xen/arch/x86/smp.c        Tue Jun 16 11:01:17 2009 +0100
+++ b/xen/arch/x86/smp.c        Wed Jun 17 14:55:16 2009 -0700
@@ -223,7 +223,7 @@
  * Structure and data for smp_call_function()/on_selected_cpus().
  */
 
-static void __smp_call_function_interrupt(void);
+static void __smp_call_function_interrupt(struct cpu_user_regs *);
 static DEFINE_SPINLOCK(call_lock);
 static struct call_data_struct {
     void (*func) (void *info);
@@ -273,7 +273,7 @@
     if ( cpu_isset(smp_processor_id(), call_data.selected) )
     {
         local_irq_disable();
-        __smp_call_function_interrupt();
+        __smp_call_function_interrupt(NULL);
         local_irq_enable();
     }
 
@@ -341,7 +341,7 @@
     perfc_incr(ipis);
 }
 
-static void __smp_call_function_interrupt(void)
+static void __smp_call_function_interrupt(struct cpu_user_regs *regs)
 {
     void (*func)(void *info) = call_data.func;
     void *info = call_data.info;
@@ -371,5 +371,5 @@
 {
     ack_APIC_irq();
     perfc_incr(ipis);
-    __smp_call_function_interrupt();
+    __smp_call_function_interrupt(regs);
 }
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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