提交 55d0b4e3 编写于 作者: F Franck Bui-Huu 提交者: Ralf Baechle

[MIPS] clocksource: use CLOCKSOURCE_MASK() macro

Signed-off-by: NFranck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 599ca0fb
...@@ -306,7 +306,7 @@ static unsigned int __init calibrate_hpt(void) ...@@ -306,7 +306,7 @@ static unsigned int __init calibrate_hpt(void)
struct clocksource clocksource_mips = { struct clocksource clocksource_mips = {
.name = "MIPS", .name = "MIPS",
.mask = 0xffffffff, .mask = CLOCKSOURCE_MASK(32),
.flags = CLOCK_SOURCE_IS_CONTINUOUS, .flags = CLOCK_SOURCE_IS_CONTINUOUS,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册