mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
2651fa2bcb
Add PERF_COUNTER_INDEX_OFFSET define to fix this build bug: kernel/perf_counter.c: In function 'perf_counter_index': kernel/perf_counter.c:1889: error: 'PERF_COUNTER_INDEX_OFFSET' undeclared Same fix as for FRV since s390 doesn't support hw counters. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
11 lines
271 B
C
11 lines
271 B
C
/*
|
|
* Performance counter support - s390 specific definitions.
|
|
*
|
|
* Copyright 2009 Martin Schwidefsky, IBM Corporation.
|
|
*/
|
|
|
|
static inline void set_perf_counter_pending(void) {}
|
|
static inline void clear_perf_counter_pending(void) {}
|
|
|
|
#define PERF_COUNTER_INDEX_OFFSET 0
|