ia64/xen-unstable

changeset 6185:a42bf05b188c

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@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Aug 15 07:52:34 2005 +0000 (2005-08-15)
parents 737433c5bb2e
children 5311d81c1e8e c42c85c6f590
files linux-2.6-xen-sparse/arch/xen/x86_64/kernel/apic.c linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/apic.c	Mon Aug 15 07:52:19 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/apic.c	Mon Aug 15 07:52:34 2005 +0000
     1.3 @@ -45,10 +45,11 @@ int disable_apic;
     1.4  
     1.5  void smp_local_timer_interrupt(struct pt_regs *regs)
     1.6  {
     1.7 -	int cpu = smp_processor_id();
     1.8  
     1.9  	profile_tick(CPU_PROFILING, regs);
    1.10  #ifndef CONFIG_XEN
    1.11 +	int cpu = smp_processor_id();
    1.12 +
    1.13  	if (--per_cpu(prof_counter, cpu) <= 0) {
    1.14  		/*
    1.15  		 * The multiplier may have changed since the last time we got
     2.1 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c	Mon Aug 15 07:52:19 2005 +0000
     2.2 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c	Mon Aug 15 07:52:34 2005 +0000
     2.3 @@ -557,8 +557,6 @@ static void xen_copy_pt(void)
     2.4  
     2.5  void __init xen_init_pt(void)
     2.6  {
     2.7 -        pgd_t *old_level4 = (pgd_t *)xen_start_info.pt_base;
     2.8 -
     2.9  	memcpy((void *)init_level4_pgt, 
    2.10  	       (void *)xen_start_info.pt_base, PAGE_SIZE);
    2.11