[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5644C367.9010309@linaro.org>
Date: Thu, 12 Nov 2015 17:50:47 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, John Stultz <john.stultz@...aro.org>
Subject: Re: [PATCH 1/4] h8300: clocksource: Use overflow interrupt
On 11/11/2015 03:50 PM, Yoshinori Sato wrote:
> Overflow interrupt is used for moving up of a count.
>
> Signed-off-by: Yoshinori Sato <ysato@...rs.sourceforge.jp>
> ---
[ ... ]
> @@ -118,6 +119,7 @@ static struct timer16_priv timer16_priv = {
> .enable = timer16_enable,
> .disable = timer16_disable,
> .mask = CLOCKSOURCE_MASK(sizeof(unsigned long) * 8),
> + .max_cycles = 0xffffffff,
This is computed automatically when registering the clocksource.
clocksource_register_hz
__clocksource_register_scale
__clocksource_update_freq_scale
clocksource_update_max_deferment
=> clocks_calc_max_nsecs
> .flags = CLOCK_SOURCE_IS_CONTINUOUS,
> },
> };
[ ... ]
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists