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(-) Index: linux-2.6.20-rc6-mm/arch/x86_64/kernel/hpet.c =================================================================== --- linux-2.6.20-rc6-mm.orig/arch/x86_64/kernel/hpet.c +++ linux-2.6.20-rc6-mm/arch/x86_64/kernel/hpet.c @@ -478,8 +478,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: */