Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234151
b: refs/heads/master
c: 91f0173
h: refs/heads/master
i:
  234149: f7458a4
  234147: 98a4701
  234143: 292e67d
v: v3
  • Loading branch information
Deng-Cheng Zhu authored and Ralf Baechle committed Mar 14, 2011
1 parent 2956748 commit ecb1643
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: efe8dc556cd0f22e04c453188ffbc408b492eb82
refs/heads/master: 91f017372a48d2d128d08964bcfeafbd98b6d739
1 change: 1 addition & 0 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ config MIPS
select HAVE_GENERIC_DMA_COHERENT
select HAVE_IDE
select HAVE_OPROFILE
select HAVE_IRQ_WORK
select HAVE_PERF_EVENTS
select PERF_USE_VMALLOC
select HAVE_ARCH_KGDB
Expand Down
12 changes: 1 addition & 11 deletions trunk/arch/mips/include/asm/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,5 @@

#ifndef __MIPS_PERF_EVENT_H__
#define __MIPS_PERF_EVENT_H__

/*
* MIPS performance counters do not raise NMI upon overflow, a regular
* interrupt will be signaled. Hence we can do the pending perf event
* work at the tail of the irq handler.
*/
static inline void
set_perf_event_pending(void)
{
}

/* Leave it empty here. The file is required by linux/perf_event.h */
#endif /* __MIPS_PERF_EVENT_H__ */
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/perf_event_mipsxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ static int mipsxx_pmu_handle_shared_irq(void)
* interrupt, not NMI.
*/
if (handled == IRQ_HANDLED)
perf_event_do_pending();
irq_work_run();

#ifdef CONFIG_MIPS_MT_SMP
read_unlock(&pmuint_rwlock);
Expand Down

0 comments on commit ecb1643

Please sign in to comment.