Skip to content

Commit

Permalink
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
Browse files Browse the repository at this point in the history
…inux/kernel/git/tip/tip

Pull irq fix from Thomas Gleixner:
 "A single fix for the MIPS GIC to prevent ftrace recursion"

* 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  irqchip/mips-gic: Mark count and compare accessors notrace
  • Loading branch information
Linus Torvalds committed Jun 25, 2017
2 parents 412572b + 9f93d87 commit 1a8cca1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/irqchip/irq-mips-gic.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static inline void gic_map_to_vpe(unsigned int intr, unsigned int vpe)
}

#ifdef CONFIG_CLKSRC_MIPS_GIC
u64 gic_read_count(void)
u64 notrace gic_read_count(void)
{
unsigned int hi, hi2, lo;

Expand All @@ -167,7 +167,7 @@ unsigned int gic_get_count_width(void)
return bits;
}

void gic_write_compare(u64 cnt)
void notrace gic_write_compare(u64 cnt)
{
if (mips_cm_is64) {
gic_write(GIC_REG(VPE_LOCAL, GIC_VPE_COMPARE), cnt);
Expand All @@ -179,7 +179,7 @@ void gic_write_compare(u64 cnt)
}
}

void gic_write_cpu_compare(u64 cnt, int cpu)
void notrace gic_write_cpu_compare(u64 cnt, int cpu)
{
unsigned long flags;

Expand Down

0 comments on commit 1a8cca1

Please sign in to comment.