[RFC PATCH v3 10/14] m68k: mac: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij Tested-by: Stan Johnson --- Changed since v2: - Drop unneeded 'clk_offset' variable. Changed since v1: - Moved clk_total access to within the irq lock. -

[RFC PATCH v3 10/14] m68k: mac: Convert to clocksource API

2018-11-23 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij Tested-by: Stan Johnson --- Changed since v2: - Drop unneeded 'clk_offset' variable. Changed since v1: - Moved clk_total access to within the irq lock. -