diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/Kconfig | 1 | ||||
-rw-r--r-- | arch/sh/include/asm/perf_counter.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index a6f9eaa6e0bb..e487e6d5a4d0 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -15,6 +15,7 @@ config SUPERH | |||
15 | select HAVE_IOREMAP_PROT if MMU | 15 | select HAVE_IOREMAP_PROT if MMU |
16 | select HAVE_ARCH_TRACEHOOK | 16 | select HAVE_ARCH_TRACEHOOK |
17 | select HAVE_DMA_API_DEBUG | 17 | select HAVE_DMA_API_DEBUG |
18 | select HAVE_PERF_COUNTER | ||
18 | select RTC_LIB | 19 | select RTC_LIB |
19 | select GENERIC_ATOMIC64 | 20 | select GENERIC_ATOMIC64 |
20 | help | 21 | help |
diff --git a/arch/sh/include/asm/perf_counter.h b/arch/sh/include/asm/perf_counter.h new file mode 100644 index 000000000000..a8153c2aa6fa --- /dev/null +++ b/arch/sh/include/asm/perf_counter.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef __ASM_SH_PERF_COUNTER_H | ||
2 | #define __ASM_SH_PERF_COUNTER_H | ||
3 | |||
4 | /* SH only supports software counters through this interface. */ | ||
5 | #define set_perf_counter_pending() do { } while (0) | ||
6 | |||
7 | #endif /* __ASM_SH_PERF_COUNTER_H */ | ||