Skip to content

clocksource: jz47xx-tcu: Mark functions used by sched_clock() as notrace #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/clocksource/jz47xx-tcu.c
Original file line number Diff line number Diff line change
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