diff mbox

[6/7] clocksource: digicolor: don't trace digicolor_timer_sched_read()

Message ID 1445328160-402-7-git-send-email-jszhang@marvell.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jisheng Zhang Oct. 20, 2015, 8:02 a.m. UTC
We should not trace digicolor_timer_sched_read() function, add notrace
attribute to this function.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
 drivers/clocksource/timer-digicolor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Baruch Siach Oct. 20, 2015, 11:14 a.m. UTC | #1
Hi Jisheng Zhang,

On Tue, Oct 20, 2015 at 04:02:39PM +0800, Jisheng Zhang wrote:
> We should not trace digicolor_timer_sched_read() function, add notrace
> attribute to this function.
> 
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>

Acked-by: Baruch Siach <baruch@tkos.co.il>

Thanks,
baruch
diff mbox

Patch

diff --git a/drivers/clocksource/timer-digicolor.c b/drivers/clocksource/timer-digicolor.c
index e73947f0f..a536eeb 100644
--- a/drivers/clocksource/timer-digicolor.c
+++ b/drivers/clocksource/timer-digicolor.c
@@ -143,7 +143,7 @@  static irqreturn_t digicolor_timer_interrupt(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static u64 digicolor_timer_sched_read(void)
+static u64 notrace digicolor_timer_sched_read(void)
 {
 	return ~readl(dc_timer_dev.base + COUNT(TIMER_B));
 }