Re: next: x86/msr.h: build fails

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

 



On Wed, May 20, 2009 at 02:14:46PM +0400, Alexander Beregalov wrote:
> On Wed, May 20, 2009 at 01:41:41PM +0400, Alexander Beregalov wrote:
> > Hi Borislav,
> > 
> > What do you think about this fix?
> > I have no idea what value should be for the cpu variable.
> 
> This patch should be better.
> This is !SMP code, then cpu=0 is ok.
> 
> 
> From: Alexander Beregalov <a.beregalov@xxxxxxxxx>
> Subject: [PATCH] x86: msr.h: fix build error
> 
> Fix this build error:
> .../asm/msr.h: In function 'rdmsr_on_cpus':
> .../asm/msr.h:248: error: request for member 'l' in something not a structure or union
> .../asm/msr.h:248: error: request for member 'h' in something not a structure or union
> .../asm/msr.h:248: error: too few arguments to function 'rdmsr_on_cpu'
> .../asm/msr.h: In function 'wrmsr_on_cpus':
> .../asm/msr.h:253: error: request for member 'l' in something not a structure or union
> .../asm/msr.h:253: error: request for member 'h' in something not a structure or union
> .../asm/msr.h:253: error: too few arguments to function 'wrmsr_on_cpu'
> 
> This is !SMP code so `cpu` should be 0.
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>

thanks, applied.

-- 
Regards/Gruss,
Boris.

Operating | Advanced Micro Devices GmbH
  System  | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
 Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni
  Center  | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
  (OSRC)  | Registergericht München, HRB Nr. 43632

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux