From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: [PATCH] cpu_user_regs * to __smp_call_function_interrupt Date: Wed, 17 Jun 2009 14:58:11 -0700 Message-ID: <4A3966F3.9040904@oracle.com> Reply-To: mukesh.rathor@oracle.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090106010504020403010406" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090106010504020403010406 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Following simple and tiny patch will help prevent many un-necessary ifdef's in kdb, if you'll please apply. Thanks, Mukesh --------------090106010504020403010406 Content-Type: text/plain; name="patch.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch.out" 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); } --------------090106010504020403010406 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090106010504020403010406--