All of lore.kernel.org
 help / color / mirror / Atom feed
* + xtensa-fix-unnecessary-setting-of-xtime.patch added to -mm tree
@ 2010-03-04 21:53 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-03-04 21:53 UTC (permalink / raw)
  To: mm-commits; +Cc: johnstul, chris, mingo, tglx


The patch titled
     xtensa: fix unnecessary setting of xtime
has been added to the -mm tree.  Its filename is
     xtensa-fix-unnecessary-setting-of-xtime.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: xtensa: fix unnecessary setting of xtime
From: John Stultz <johnstul@us.ibm.com>

xtensa supports read_persisitent_clock(), so there is no reason for the
arch specific code to be setting xtime.  Setting xtime will be done by the
generic timekeeping code.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Chris Zankel <chris@zankel.net>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/xtensa/kernel/time.c |    5 -----
 1 file changed, 5 deletions(-)

diff -puN arch/xtensa/kernel/time.c~xtensa-fix-unnecessary-setting-of-xtime arch/xtensa/kernel/time.c
--- a/arch/xtensa/kernel/time.c~xtensa-fix-unnecessary-setting-of-xtime
+++ a/arch/xtensa/kernel/time.c
@@ -60,11 +60,6 @@ static struct irqaction timer_irqaction 
 
 void __init time_init(void)
 {
-	/* FIXME: xtime&wall_to_monotonic are set in timekeeping_init. */
-	read_persistent_clock(&xtime);
-	set_normalized_timespec(&wall_to_monotonic,
-		-xtime.tv_sec, -xtime.tv_nsec);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-04 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-04 21:53 + xtensa-fix-unnecessary-setting-of-xtime.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.