summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2010-01-07 15:26:22 -0500
committerDave Jones <davej@redhat.com>2010-01-13 10:55:17 -0500
commitfb4635932a4e19c2f55383f968a0e9b64da37354 (patch)
treea4dcfe4f952fa999067498437d6a597c7561e1d0 /arch/x86
parent0f1d683fb35d6c6f49ef696c95757f3970682a0e (diff)
downloadop-kernel-dev-fb4635932a4e19c2f55383f968a0e9b64da37354.zip
op-kernel-dev-fb4635932a4e19c2f55383f968a0e9b64da37354.tar.gz
[CPUFREQ] Fix cast warning in pcc driver.
arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c:458: warning: cast from pointer to integer of different size Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
index 2936885..ff36d29 100644
--- a/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
+++ b/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
@@ -455,8 +455,7 @@ static int __init pcc_cpufreq_probe(void)
}
pcch_hdr = pcch_virt_addr;
- dprintk("probe: PCCH header (virtual) addr: 0x%llx\n",
- (u64)pcch_hdr);
+ dprintk("probe: PCCH header (virtual) addr: 0x%p\n", pcch_hdr);
dprintk("probe: PCCH header is at physical address: 0x%llx,"
" signature: 0x%x, length: %d bytes, major: %d, minor: %d,"
" supported features: 0x%x, command field: 0x%x,"
OpenPOWER on IntegriCloud