Deng-Cheng Zhu | 14f7001 | 2010-10-12 19:37:22 +0800 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/mips/include/asm/perf_event.h |
| 3 | * |
| 4 | * Copyright (C) 2010 MIPS Technologies, Inc. |
| 5 | * Author: Deng-Cheng Zhu |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | #ifndef __MIPS_PERF_EVENT_H__ |
| 13 | #define __MIPS_PERF_EVENT_H__ |
| 14 | |
| 15 | /* |
| 16 | * MIPS performance counters do not raise NMI upon overflow, a regular |
| 17 | * interrupt will be signaled. Hence we can do the pending perf event |
| 18 | * work at the tail of the irq handler. |
| 19 | */ |
| 20 | static inline void |
| 21 | set_perf_event_pending(void) |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | #endif /* __MIPS_PERF_EVENT_H__ */ |