From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] linux/x86-64: eliminate dead code Date: Wed, 23 Jul 2008 14:14:38 +0100 Message-ID: <48874ADE.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 Index: head-2008-07-21/arch/x86_64/kernel/process-xen.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 -=3D get_random_int() % 8192; return sp & ~0xf; } - -#ifndef CONFIG_SMP -void _restore_vcpu(void) -{ -} -#endif