* [PATCH 05/05] sh: Let SH_TIMER_CMT select GENERIC_TIME
@ 2009-04-15 10:50 Magnus Damm
2009-04-16 5:23 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2009-04-15 10:50 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@igel.co.jp>
Let SH_TIMER_CMT select GENERIC_TIME. This since GENERIC_TIME is
required to build the CMT driver. Without this patch the TMU driver
must be enabled for the CMT driver to build.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
arch/sh/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- 0001/arch/sh/Kconfig
+++ work/arch/sh/Kconfig 2009-02-04 19:29:12.000000000 +0900
@@ -431,6 +431,7 @@ config SH_CMT
config SH_TIMER_CMT
bool "CMT clockevents driver"
depends on SYS_SUPPORTS_CMT && !SH_CMT
+ select GENERIC_TIME
select GENERIC_CLOCKEVENTS
config SH_MTU2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 05/05] sh: Let SH_TIMER_CMT select GENERIC_TIME
2009-04-15 10:50 [PATCH 05/05] sh: Let SH_TIMER_CMT select GENERIC_TIME Magnus Damm
@ 2009-04-16 5:23 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2009-04-16 5:23 UTC (permalink / raw)
To: linux-sh
On Wed, Apr 15, 2009 at 07:50:38PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@igel.co.jp>
>
> Let SH_TIMER_CMT select GENERIC_TIME. This since GENERIC_TIME is
> required to build the CMT driver. Without this patch the TMU driver
> must be enabled for the CMT driver to build.
>
> Signed-off-by: Magnus Damm <damm@igel.co.jp>
> ---
>
> arch/sh/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- 0001/arch/sh/Kconfig
> +++ work/arch/sh/Kconfig 2009-02-04 19:29:12.000000000 +0900
> @@ -431,6 +431,7 @@ config SH_CMT
> config SH_TIMER_CMT
> bool "CMT clockevents driver"
> depends on SYS_SUPPORTS_CMT && !SH_CMT
> + select GENERIC_TIME
> select GENERIC_CLOCKEVENTS
>
We can't do this yet, as the mtu2 sys_timer code is not GENERIC_TIME
ready. So if one uses that in conjunction with SH_TIMER_CMT, it will blow
up. Once the early platform stuff is merged and we can use the new CMT
code for jiffies, then I will change the Kconfig bits around to prevent
any sys_timer drivers being enabled, and at that point this can be
applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-16 5:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15 10:50 [PATCH 05/05] sh: Let SH_TIMER_CMT select GENERIC_TIME Magnus Damm
2009-04-16 5:23 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox