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] xen/smpboot: eliminate cpu_2_logical_

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen/smpboot: eliminate cpu_2_logical_apicid
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Nov 2010 01:35:05 -0700
Delivery-date: Wed, 03 Nov 2010 01:35:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir@xxxxxxx>
# Date 1288772468 0
# Node ID f14221afcebeac623197f7b68f6ff3262c58083f
# Parent  bd2bf7a8468657da58c5039a2dfb573afb7e004d
xen/smpboot: eliminate cpu_2_logical_apicid

This variable must have become orphaned by a merge predating the
2.6.16 one.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/core/smpboot.c |    4 ----
 1 files changed, 4 deletions(-)

diff -r bd2bf7a84686 -r f14221afcebe drivers/xen/core/smpboot.c
--- a/drivers/xen/core/smpboot.c        Wed Nov 03 08:20:42 2010 +0000
+++ b/drivers/xen/core/smpboot.c        Wed Nov 03 08:21:08 2010 +0000
@@ -53,8 +53,6 @@ static char resched_name[NR_CPUS][15];
 static char resched_name[NR_CPUS][15];
 static char callfunc_name[NR_CPUS][15];
 
-u8 cpu_2_logical_apicid[NR_CPUS] = { [0 ... NR_CPUS-1] = BAD_APICID };
-
 cpumask_t cpu_sibling_map[NR_CPUS] __cacheline_aligned;
 cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned;
 EXPORT_SYMBOL(cpu_core_map);
@@ -274,7 +272,6 @@ void __init smp_prepare_cpus(unsigned in
        boot_cpu_data.apicid = apicid;
        cpu_data[0] = boot_cpu_data;
 
-       cpu_2_logical_apicid[0] = apicid;
        x86_cpu_to_apicid[0] = apicid;
 
        current_thread_info()->cpu = 0;
@@ -331,7 +328,6 @@ void __init smp_prepare_cpus(unsigned in
                cpu_data[cpu] = boot_cpu_data;
                cpu_data[cpu].apicid = apicid;
 
-               cpu_2_logical_apicid[cpu] = apicid;
                x86_cpu_to_apicid[cpu] = apicid;
 
                idle = fork_idle(cpu);

_______________________________________________
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] xen/smpboot: eliminate cpu_2_logical_apicid, Xen patchbot-linux-2.6.18-xen <=