x86, gcc-4.6: Avoid unused by set variables in rdmsr
authorAndi Kleen <andi@firstfloor.org>
Tue, 20 Jul 2010 22:19:48 +0000 (15:19 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 22:38:18 +0000 (15:38 -0700)
commit5f755293ca61520b70b11afe1b1d6e1635cb6c00
tree53224e1ab312052a8dce961c5ddb723c19007cfe
parentd0c6f6258478e1dba532bf7c28e2cd6e1047d3a4
x86, gcc-4.6: Avoid unused by set variables in rdmsr

Avoids quite a lot of warnings with a gcc 4.6 -Wall build
because this happens in a commonly used header file (apic.h)

Signed-off-by: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <201007202219.o6KMJme6021066@imap1.linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/msr.h