diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 981432885301..be10b3ffe320 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -512,12 +512,13 @@ struct perf_cpu_context { | |||
512 | int recursion[4]; | 512 | int recursion[4]; |
513 | }; | 513 | }; |
514 | 514 | ||
515 | #ifdef CONFIG_PERF_COUNTERS | ||
516 | |||
515 | /* | 517 | /* |
516 | * Set by architecture code: | 518 | * Set by architecture code: |
517 | */ | 519 | */ |
518 | extern int perf_max_counters; | 520 | extern int perf_max_counters; |
519 | 521 | ||
520 | #ifdef CONFIG_PERF_COUNTERS | ||
521 | extern const struct hw_perf_counter_ops * | 522 | extern const struct hw_perf_counter_ops * |
522 | hw_perf_counter_init(struct perf_counter *counter); | 523 | hw_perf_counter_init(struct perf_counter *counter); |
523 | 524 | ||