WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Remove dead code
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 07:11:02 -0800
Delivery-date: Fri, 22 Feb 2008 07:47:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] Remove dead code, Xen patchbot-linux-2.6.18-xen <=