aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/uv
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2010-11-08 22:20:29 +0100
committerThomas Gleixner <tglx@linutronix.de>2010-11-09 18:40:30 +0100
commit0059b2436a86fedb2747f654f8e10a67e97d8614 (patch)
tree54ee8189274e1de21774c05246402d76271b0bd6 /arch/x86/platform/uv
parentcf38d0ba7efdc476815768b2b999b27cfae69747 (diff)
downloadkernel_samsung_crespo-0059b2436a86fedb2747f654f8e10a67e97d8614.zip
kernel_samsung_crespo-0059b2436a86fedb2747f654f8e10a67e97d8614.tar.gz
kernel_samsung_crespo-0059b2436a86fedb2747f654f8e10a67e97d8614.tar.bz2
x86: Address gcc4.6 "set but not used" warnings in apic.h
native_apic_msr_read() and x2apic_enabled() use rdmsr(msr, low, high), but only use the low part. gcc4.6 complains about this: .../apic.h:144:11: warning: variable 'high' set but not used [-Wunused-but-set-variable] rdmsr() is just a wrapper around rdmsrl() which splits the 64bit value into low and high, so using rdmsrl() directly solves this. [tglx: Changed the variables to u64 as suggested by Cyrill. It's less confusing and has no code impact as this is 64bit only anyway. Massaged changelog as well. ] Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: x86@kernel.org Cc: Cyrill Gorcunov <gorcunov@gmail.com> LKML-Reference: <1289251229-19589-1-git-send-email-andi@firstfloor.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/platform/uv')
0 files changed, 0 insertions, 0 deletions