diff options
author | Dave Jones <davej@redhat.com> | 2010-01-07 15:26:22 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2010-01-13 10:55:17 -0500 |
commit | fb4635932a4e19c2f55383f968a0e9b64da37354 (patch) | |
tree | a4dcfe4f952fa999067498437d6a597c7561e1d0 /arch/x86 | |
parent | 0f1d683fb35d6c6f49ef696c95757f3970682a0e (diff) | |
download | linux-3.10-fb4635932a4e19c2f55383f968a0e9b64da37354.tar.gz linux-3.10-fb4635932a4e19c2f55383f968a0e9b64da37354.tar.bz2 linux-3.10-fb4635932a4e19c2f55383f968a0e9b64da37354.zip |
[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.c | 3 |
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 29368854533..ff36d2979a9 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," |