Re: Linux 2.4.0test1-ac1

From: Fumitoshi UKAI (ukai@debian.or.jp)
Date: Fri May 26 2000 - 03:30:14 EST


At 25 May 2000 18:00:50 -0700,
H. Peter Anvin <hpa@zytor.com> wrote:
 
> Followup to: <E12v87D-0000Qc-00@the-village.bc.nu>
> By author: Alan Cox <alan@lxorguk.ukuu.org.uk>
> In newsgroup: linux.dev.kernel
> >
> > 2.4.0-test1-ac1
> >
> > o Statically init the i2o config semaphore (Juha Sievanen)
> > o Fix the eth= command line and extend it (Pekka Riikonen)
> > o Rip out the 2.2 GHOST hack for DVD's (Jens Axboe)
> > o Fix VCD playing on some Plextor drives (Jens Axboe)
> > o Intel 840 GART support (Tony Hoyle)
> > o Clean up initio resource handling (Thomas Graichen)
> > o Fix COMX compile problems (Francois Romieu)
> > o Fix incorrect altstk over exec inheritence (Bruno Haible)
> > o Support etherexpress 10 isa (82595FX) (Aristeu Filho)
> > o Fix proc reporting of md (Brian Kress)
> > o Reorder fs/locks.c but no function changes (Matthew Wilcox)
> > o Come out of APM suspend with interrupts off (Andy Henroid)
> > o Fix procfs sysctl to use structs (Tigran Aivazian)
> >
>
> Also, the CPUID/MSR driver fix.

fix for CONFIG_SMP enabled:

--- linux-2.4.0-test1.org/arch/i386/kernel/cpuid.c Fri May 26 17:21:03 2000
+++ linux-2.4.0-test1/arch/i386/kernel/cpuid.c Fri May 26 17:15:01 2000
@@ -64,11 +64,11 @@
   if ( cpu == smp_processor_id() ) {
     cpuid(reg, &data[0], &data[1], &data[2], &data[3]);
   } else {
- cmd->cpu = cpu;
- cmd->reg = reg;
- cmd->data = data;
+ cmd.cpu = cpu;
+ cmd.reg = reg;
+ cmd.data = data;
     
- smp_call_function(cpuid_smp_cpuid, (void *)cmd, 1, 1);
+ smp_call_function(cpuid_smp_cpuid, (void *)&cmd, 1, 1);
   }
 }
 #else /* ! CONFIG_SMP */
--- linux-2.4.0-test1.org/arch/i386/kernel/msr.c Fri May 26 17:22:53 2000
+++ linux-2.4.0-test1/arch/i386/kernel/msr.c Fri May 26 17:21:57 2000
@@ -119,7 +119,7 @@
     cmd.data[0] = eax;
     cmd.data[1] = edx;
     
- smp_call_function(msr_smp_wrmsr, (void *)cmd, 1, 1);
+ smp_call_function(msr_smp_wrmsr, (void *)&cmd, 1, 1);
     return cmd.err;
   }
 }
@@ -134,7 +134,7 @@
     cmd.cpu = cpu;
     cmd.reg = reg;
 
- smp_call_function(msr_smp_rdmsr, (void *)cmd, 1, 1);
+ smp_call_function(msr_smp_rdmsr, (void *)&cmd, 1, 1);
     
     *eax = cmd.data[0];
     *edx = cmd.data[1];

Regards,
Fumitoshi UKAI

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:15 EST