From: "Jan Beulich" Subject: [PATCH] linux/x86-64: Remove dead code Date: Thu, 22 Nov 2007 12:57:08 +0000 Message-ID: <47458AB4.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 An apparently forgotten hunk of a much earlier patch. As usual, written and tested against 2.6.23 and made apply against 2.6.18 without further testing. Signed-off-by: Jan Beulich Index: head-2007-10-26/include/asm-x86_64/mach-xen/asm/system.h =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-2007-10-26.orig/include/asm-x86_64/mach-xen/asm/system.h = 2007-11-13 11:45:11.000000000 +0100 +++ head-2007-10-26/include/asm-x86_64/mach-xen/asm/system.h 2007-11-21 = 15:22:56.000000000 +0100 @@ -11,12 +11,6 @@ =20 #ifdef __KERNEL__ =20 -#ifdef CONFIG_SMP -#define __vcpu_id smp_processor_id() -#else -#define __vcpu_id 0 -#endif - #define __STR(x) #x #define STR(x) __STR(x) =20