mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
[linux/fpc-iii.git] / arch / s390 / include / asm / perf_event.h
blob1141fb3e7b21e6ad2e915835eb571301982cf29e
1 /*
2 * Performance event support - s390 specific definitions.
4 * Copyright IBM Corp. 2009, 2012
5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
6 * Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
7 */
9 #include <asm/cpu_mf.h>
11 /* CPU-measurement counter facility */
12 #define PERF_CPUM_CF_MAX_CTR 256
14 /* Per-CPU flags for PMU states */
15 #define PMU_F_RESERVED 0x1000
16 #define PMU_F_ENABLED 0x2000
18 #ifdef CONFIG_64BIT
20 /* Perf callbacks */
21 struct pt_regs;
22 extern unsigned long perf_instruction_pointer(struct pt_regs *regs);
23 extern unsigned long perf_misc_flags(struct pt_regs *regs);
24 #define perf_misc_flags(regs) perf_misc_flags(regs)
26 #endif /* CONFIG_64BIT */