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

[Xen-changelog] Just a very simple patch that removes:



# 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


 


Rackspace

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