[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B0925BD.6070507@ru.mvista.com>
Date: Sun, 22 Nov 2009 14:51:25 +0300
From: Sergei Shtylyov <sshtylyov@...mvista.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Wu Zhangjin <wuzhangjin@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>, linux-mips@...ux-mips.org,
Thomas Gleixner <tglx@...utronix.de>,
Michal Simek <monstr@...str.eu>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] MIPS: Add a high resolution sched_clock() via cnt32_to_63().
Hello.
Ingo Molnar wrote:
>> +config HR_SCHED_CLOCK
>> + bool "High Resolution sched_clock()"
>> + depends on CSRC_R4K
>> + default n
>> + help
>> + This option enables the MIPS c0 count based high resolution
>> + sched_clock().
>> +
>> + If you need a ns precision timestamp, You are recommended to enable
>> + this option. For example, If you are using the Ftrace subsystem to do
>>
s/If/if/
>> diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c
>> index e95a3cd..4e52cca 100644
>> --- a/arch/mips/kernel/csrc-r4k.c
>> +++ b/arch/mips/kernel/csrc-r4k.c
>> @@ -6,10 +6,64 @@
>> * Copyright (C) 2007 by Ralf Baechle
>> */
>> #include <linux/clocksource.h>
>> +#include <linux/cnt32_to_63.h>
>> +#include <linux/timer.h>
>> #include <linux/init.h>
>>
>> #include <asm/time.h>
>>
>> +/*
>> + * MIPS' sched_clock implementation.
>>
>
> s/MIPS'/MIPS's
>
MIPS's is not really a proper English. :-)
WBR, Sergei
--
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