aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/perf_counter.h
blob: 5d7a8ca0e4910f174ced67fe368b226525cbffd6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __ASM_SPARC_PERF_COUNTER_H
#define __ASM_SPARC_PERF_COUNTER_H

extern void set_perf_counter_pending(void);

#define	PERF_COUNTER_INDEX_OFFSET	0

#ifdef CONFIG_PERF_COUNTERS
extern void init_hw_perf_counters(void);
#else
static inline void init_hw_perf_counters(void)	{ }
#endif

#endif