From: Andrew Morton Cc: John Stultz Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Andi Kleen Cc: Roman Zippel Signed-off-by: Andrew Morton --- arch/x86_64/kernel/hpet.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN arch/x86_64/kernel/hpet.c~time-x86_64-convert-x86_64-to-use-generic_time-tidy arch/x86_64/kernel/hpet.c --- a/arch/x86_64/kernel/hpet.c~time-x86_64-convert-x86_64-to-use-generic_time-tidy +++ a/arch/x86_64/kernel/hpet.c @@ -462,8 +462,7 @@ static int __init init_hpet_clocksource( return -ENODEV; /* calculate the hpet address: */ - hpet_base = - (void __iomem*)ioremap_nocache(hpet_address, HPET_MMAP_SIZE); + hpet_base = ioremap_nocache(hpet_address, HPET_MMAP_SIZE); hpet_ptr = hpet_base + HPET_COUNTER; /* calculate the frequency: */ _