Skip to content

Commit

Permalink
Merge pull request torvalds#62 from aejsmith/ci20-v3.18-tcu-fix
Browse files Browse the repository at this point in the history
clocksource: jz47xx-tcu: Mark functions used by sched_clock() as notrace
  • Loading branch information
ZubairLK committed Aug 3, 2015
2 parents 6100ad6 + 9562aef commit 4da6a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/clocksource/jz47xx-tcu.c
Expand Up @@ -89,7 +89,7 @@ struct jz47xx_tcu {
struct jz47xx_tcu_irq irqs[NUM_TCU_IRQS];
};

static inline u32 tcu_readl(struct jz47xx_tcu *tcu, enum jz47xx_tcu_reg reg)
static inline u32 notrace tcu_readl(struct jz47xx_tcu *tcu, enum jz47xx_tcu_reg reg)
{
return readl(tcu->base + reg);
}
Expand Down Expand Up @@ -468,7 +468,7 @@ unsigned jz47xx_tcu_get_channel_rate(struct jz47xx_tcu_channel *channel)
return src_rate / div;
}

u64 jz47xx_tcu_read_channel_count(struct jz47xx_tcu_channel *channel)
u64 notrace jz47xx_tcu_read_channel_count(struct jz47xx_tcu_channel *channel)
{
struct jz47xx_tcu *tcu = channel->tcu;
u64 count;
Expand Down

0 comments on commit 4da6a16

Please sign in to comment.