[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4BC829D1.5070001@petalogix.com>
Date: Fri, 16 Apr 2010 11:11:45 +0200
From: Michal Simek <michal.simek@...alogix.com>
To: Arnd Bergmann <arnd@...db.de>
CC: wuzhangjin@...il.com, Steven Rostedt <rostedt@...dmis.org>,
Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: sched_clock - microblaze
Arnd Bergmann wrote:
> On Friday 16 April 2010, Michal Simek wrote:
>> Why is sched_clock called in init_idle? Do you get any non zero value on
>> any ARCH?
>
> Yes, some architectures return a real-time value here that starts before boot.
> Also, when the clock starts at boot time, there can be a significant time
> spent in the firmware and early kernel code before we get to init_idle.
ok. I will return 0 before timer initialization.
Thanks for explanation,
Michal
>
> Arnd
--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
--
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