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

[Xen-changelog] [xen-unstable] Remove unused smpboot.h header file.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1195638322 0
# Node ID 00fec8212ae68014c18c894d751185c0a65a8c3a
# Parent  2e5d922b7ee3d80b513c641b6e7a50aae7d1a058
Remove unused smpboot.h header file.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
---
 xen/include/asm-powerpc/smpboot.h |   21 ---------------------
 xen/include/asm-x86/smpboot.h     |   16 ----------------
 xen/arch/x86/irq.c                |    1 -
 xen/arch/x86/physdev.c            |    1 -
 xen/arch/x86/smp.c                |    1 -
 5 files changed, 40 deletions(-)

diff -r 2e5d922b7ee3 -r 00fec8212ae6 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Tue Nov 20 17:26:48 2007 +0000
+++ b/xen/arch/x86/irq.c        Wed Nov 21 09:45:22 2007 +0000
@@ -15,7 +15,6 @@
 #include <xen/keyhandler.h>
 #include <xen/compat.h>
 #include <asm/current.h>
-#include <asm/smpboot.h>
 #include <asm/iommu.h>
 
 /* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */
diff -r 2e5d922b7ee3 -r 00fec8212ae6 xen/arch/x86/physdev.c
--- a/xen/arch/x86/physdev.c    Tue Nov 20 17:26:48 2007 +0000
+++ b/xen/arch/x86/physdev.c    Wed Nov 21 09:45:22 2007 +0000
@@ -8,7 +8,6 @@
 #include <xen/event.h>
 #include <xen/guest_access.h>
 #include <asm/current.h>
-#include <asm/smpboot.h>
 #include <asm/hypercall.h>
 #include <public/xen.h>
 #include <public/physdev.h>
diff -r 2e5d922b7ee3 -r 00fec8212ae6 xen/arch/x86/smp.c
--- a/xen/arch/x86/smp.c        Tue Nov 20 17:26:48 2007 +0000
+++ b/xen/arch/x86/smp.c        Wed Nov 21 09:45:22 2007 +0000
@@ -18,7 +18,6 @@
 #include <asm/smp.h>
 #include <asm/mc146818rtc.h>
 #include <asm/flushtlb.h>
-#include <asm/smpboot.h>
 #include <asm/hardirq.h>
 #include <asm/ipi.h>
 #include <asm/hvm/support.h>
diff -r 2e5d922b7ee3 -r 00fec8212ae6 xen/include/asm-powerpc/smpboot.h
--- a/xen/include/asm-powerpc/smpboot.h Tue Nov 20 17:26:48 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
- * Copyright (C) IBM Corp. 2005
- *
- * Authors: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
- */
-
-#include "../asm-x86/smpboot.h"
diff -r 2e5d922b7ee3 -r 00fec8212ae6 xen/include/asm-x86/smpboot.h
--- a/xen/include/asm-x86/smpboot.h     Tue Nov 20 17:26:48 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-#ifndef __ASM_SMPBOOT_H
-#define __ASM_SMPBOOT_H
-
-static inline unsigned long apicid_to_phys_cpu_present(int apicid)
-{
-       return 1UL << apicid;
-}
-
-extern volatile int logical_apicid_2_cpu[];
-extern volatile int cpu_2_logical_apicid[];
-extern volatile int physical_apicid_2_cpu[];
-extern volatile int cpu_2_physical_apicid[];
-
-#define boot_apicid_to_cpu(apicid) physical_apicid_2_cpu[apicid]
-
-#endif

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