lkml.org 
[lkml]   [2014]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH v1] drivers/clocksource: do not trace read_sched_clock
On 05/22/2014 03:50 AM, Yang,Wei wrote:
> Hi Daniel,
>
> What do you think of it?
>
> Regards
> Wei
> On 05/13/2014 11:10 AM, Wei.Yang@windriver.com wrote:
>> From: Yang Wei <Wei.Yang@windriver.com>
>>
>> We do not need to trace read_sched_clock function,
>> so add notrace attribute for this function.

Hi Yang,

I agree with your patch. Applied in my tree for 3.16

Please in the future fix the subject name:

clocksource: [driver]: [A-Z]....

Thanks
-- Daniel

>> Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
>> ---
>> drivers/clocksource/dw_apb_timer_of.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/clocksource/dw_apb_timer_of.c
>> b/drivers/clocksource/dw_apb_timer_of.c
>> index 2a2ea27..d305fb0 100644
>> --- a/drivers/clocksource/dw_apb_timer_of.c
>> +++ b/drivers/clocksource/dw_apb_timer_of.c
>> @@ -106,7 +106,7 @@ static void __init add_clocksource(struct
>> device_node *source_timer)
>> sched_rate = rate;
>> }
>> -static u64 read_sched_clock(void)
>> +static u64 notrace read_sched_clock(void)
>> {
>> return ~__raw_readl(sched_io_base);
>> }
>


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2014-05-22 14:41    [W:0.272 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site