提交 dd42b151 编写于 作者: A Al Viro

[PATCH] amd64 time.c __iomem annotations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 1d0bd717
...@@ -748,7 +748,7 @@ static __init int late_hpet_init(void) ...@@ -748,7 +748,7 @@ static __init int late_hpet_init(void)
* Timer0 and Timer1 is used by platform. * Timer0 and Timer1 is used by platform.
*/ */
hd.hd_phys_address = vxtime.hpet_address; hd.hd_phys_address = vxtime.hpet_address;
hd.hd_address = (void *)fix_to_virt(FIX_HPET_BASE); hd.hd_address = (void __iomem *)fix_to_virt(FIX_HPET_BASE);
hd.hd_nirqs = ntimer; hd.hd_nirqs = ntimer;
hd.hd_flags = HPET_DATA_PLATFORM; hd.hd_flags = HPET_DATA_PLATFORM;
hpet_reserve_timer(&hd, 0); hpet_reserve_timer(&hd, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册