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] Just a very simple patch that removes:

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Just a very simple patch that removes:
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Aug 2005 03:52:13 -0400
Delivery-date: Mon, 15 Aug 2005 07:53:09 +0000
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/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a42bf05b188c0c33c1a4a94b7b5f70738a588da5
# Parent  737433c5bb2e7742931ec28fbfa57d3cc1e90d28
Just a very simple patch that removes:

rch/xen/x86_64/mm/init.c: In function `xen_init_pt':
arch/xen/x86_64/mm/init.c:560: warning: unused variable `old_level4

rch/xen/x86_64/kernel/apic.c: In function `smp_local_timer_interrupt':
arch/xen/x86_64/kernel/apic.c:48: warning: unused variable `cpu'

Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>

diff -r 737433c5bb2e -r a42bf05b188c 
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/apic.c
--- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/apic.c        Mon Aug 15 
07:52:19 2005
+++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/apic.c        Mon Aug 15 
07:52:34 2005
@@ -45,10 +45,11 @@
 
 void smp_local_timer_interrupt(struct pt_regs *regs)
 {
-       int cpu = smp_processor_id();
 
        profile_tick(CPU_PROFILING, regs);
 #ifndef CONFIG_XEN
+       int cpu = smp_processor_id();
+
        if (--per_cpu(prof_counter, cpu) <= 0) {
                /*
                 * The multiplier may have changed since the last time we got
diff -r 737433c5bb2e -r a42bf05b188c 
linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c
--- a/linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c    Mon Aug 15 07:52:19 2005
+++ b/linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c    Mon Aug 15 07:52:34 2005
@@ -557,8 +557,6 @@
 
 void __init xen_init_pt(void)
 {
-        pgd_t *old_level4 = (pgd_t *)xen_start_info.pt_base;
-
        memcpy((void *)init_level4_pgt, 
               (void *)xen_start_info.pt_base, PAGE_SIZE);
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Just a very simple patch that removes:, Xen patchbot -unstable <=