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

[Xen-devel] [PATCH] linux/x86-64: eliminate dead code



As usual, written and tested on 2.6.26 and made apply to the 2.6.18
tree without further testing.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: head-2008-07-21/arch/x86_64/kernel/process-xen.c
===================================================================
--- head-2008-07-21.orig/arch/x86_64/kernel/process-xen.c       2008-07-22 
18:12:09.000000000 +0200
+++ head-2008-07-21/arch/x86_64/kernel/process-xen.c    2008-07-22 
08:23:25.000000000 +0200
@@ -846,9 +846,3 @@ unsigned long arch_align_stack(unsigned
                sp -= get_random_int() % 8192;
        return sp & ~0xf;
 }
-
-#ifndef CONFIG_SMP
-void _restore_vcpu(void)
-{
-}
-#endif




_______________________________________________
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®.