From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/4] ARM: deprecate mach/timex.h for !ARCH_MULTIPLATFORM
Date: Tue, 5 Nov 2013 09:33:36 +0100 [thread overview]
Message-ID: <20131105083336.GK14892@pengutronix.de> (raw)
In-Reply-To: <201311041453.09897.arnd@arndb.de>
On Mon, Nov 04, 2013 at 02:53:09PM +0100, Arnd Bergmann wrote:
> On Monday 04 November 2013, Uwe Kleine-K?nig wrote:
> > While mach/timex.h isn't used for multi-platform builds it still is for
> > "normal" builds. As there are only three platforms that do something else
> > than only defining CLOCK_TICK_RATE (and these are probably easy to fix),
> > deprecate mach/timex.h and drop the corresponding files.
> >
> > Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
>
> +LinusW, +rmk
>
> I don't think we can do this (yet): IIRC, CLOCK_TICK_RATE is required
> at least for platforms using CONFIG_ARCH_USES_GETTIMEOFFSET (which
> is not allowed for multiplatform).
Hmm, I indeed missed some uses, i.e. ep93xx, mmp, netx, sa1100, u300,
ixp4xx and rpc use CLOCK_TICK_RATE (or LATCH). Also
drivers/rtc/rtc-pxa.c uses CLOCK_TICK_RATE. I didn't find that
ARCH_USES_GETTIMEOFFSET implies a use of CLOCK_TICK_RATE though. Did I
miss something?
For now I took the patch out of my next branch and will rework it to at
least let the above listed platforms also continue to use timex.h.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2013-11-05 8:33 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-04 10:58 [PATCH v4 0/4] Energy Micro efm32 support Uwe Kleine-König
2013-11-04 11:00 ` [PATCH v4 1/4] ARM: deprecate mach/timex.h for !ARCH_MULTIPLATFORM Uwe Kleine-König
2013-11-04 13:53 ` Arnd Bergmann
2013-11-05 8:33 ` Uwe Kleine-König [this message]
2013-11-05 9:03 ` [PATCH] ARM: u300: fix timekeeping when periodic mode is used Uwe Kleine-König
2013-11-05 9:44 ` Linus Walleij
2013-11-25 21:13 ` Uwe Kleine-König
2013-11-26 12:32 ` Linus Walleij
2013-11-05 9:12 ` [PATCH v5 1/4] ARM: deprecate mach/timex.h for !ARCH_MULTIPLATFORM Uwe Kleine-König
2013-11-05 9:42 ` Linus Walleij
2013-11-05 10:01 ` Uwe Kleine-König
2013-11-05 11:34 ` Arnd Bergmann
2013-11-05 11:37 ` Linus Walleij
2013-11-05 11:45 ` Russell King - ARM Linux
2013-11-05 12:26 ` Arnd Bergmann
2013-11-05 13:27 ` Uwe Kleine-König
2013-11-05 14:58 ` Arnd Bergmann
2013-11-05 11:52 ` Uwe Kleine-König
2013-11-04 11:00 ` [PATCH v4 2/4] ARM: make mach-xyz/Makefile.boot optional " Uwe Kleine-König
2013-11-11 19:35 ` Olof Johansson
2015-01-30 9:32 ` Uwe Kleine-König
2013-11-04 11:00 ` [PATCH v4 3/4] ARM: v7-M: drop using mach/entry-macro.S Uwe Kleine-König
2013-11-11 19:35 ` Olof Johansson
2013-11-04 11:00 ` [PATCH v4 4/4] ARM: new platform for Energy Micro's EFM32 Cortex-M3 SoCs Uwe Kleine-König
2013-11-04 13:56 ` Arnd Bergmann
2013-11-05 9:48 ` Uwe Kleine-König
2013-11-05 11:10 ` Arnd Bergmann
2013-11-19 10:20 ` [PATCH v4 0/4] Energy Micro efm32 support Uwe Kleine-König
2013-11-19 13:11 ` Arnd Bergmann
2013-11-19 19:08 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131105083336.GK14892@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).