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

[Xen-changelog] [linux-2.6.18-xen] [IA64] Remove dead code



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1202228841 25200
# Node ID 9e3f78203bb5e3870487e421e9f69006418502ec
# Parent  3588f645c7546e50009a979b567b05e1fe018742
[IA64] Remove dead code

Remove ski simulator related stuff since it is for early
Xen development stage, and no longer necessary for now.

Signed-off-by: YaoZu (Eddie) Dong <eddie.dong@xxxxxxxxx>
---
 arch/ia64/xen/xenhpski.c |   19 -------------------
 arch/ia64/xen/Makefile   |    2 +-
 2 files changed, 1 insertion(+), 20 deletions(-)

diff -r 3588f645c754 -r 9e3f78203bb5 arch/ia64/xen/Makefile
--- a/arch/ia64/xen/Makefile    Mon Feb 04 08:35:36 2008 -0700
+++ b/arch/ia64/xen/Makefile    Tue Feb 05 09:27:21 2008 -0700
@@ -2,7 +2,7 @@
 # Makefile for Xen components
 #
 
-obj-y := hypercall.o xenivt.o xenentry.o xensetup.o xenpal.o xenhpski.o \
+obj-y := hypercall.o xenivt.o xenentry.o xensetup.o xenpal.o \
         hypervisor.o util.o xencomm.o xcom_hcall.o \
         xcom_privcmd.o xcom_asm.o xen_dma.o
 
diff -r 3588f645c754 -r 9e3f78203bb5 arch/ia64/xen/xenhpski.c
--- a/arch/ia64/xen/xenhpski.c  Mon Feb 04 08:35:36 2008 -0700
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-#include <linux/kernel.h>
-#include <asm/hypervisor.h>
-
-int
-running_on_sim(void)
-{
-       int i;
-       long cpuid[6];
-
-       for (i = 0; i < 5; ++i)
-               cpuid[i] = xen_get_cpuid(i);
-       if ((cpuid[0] & 0xff) != 'H') return 0;
-       if ((cpuid[3] & 0xff) != 0x4) return 0;
-       if (((cpuid[3] >> 8) & 0xff) != 0x0) return 0;
-       if (((cpuid[3] >> 16) & 0xff) != 0x0) return 0;
-       if (((cpuid[3] >> 24) & 0x7) != 0x7) return 0;
-       return 1;
-}
-

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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