projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: define PERF_COUNTER_INDEX_OFFSET.
[firefly-linux-kernel-4.4.55.git]
/
arch
/
sh
/
include
/
asm
/
perf_counter.h
diff --git
a/arch/sh/include/asm/perf_counter.h
b/arch/sh/include/asm/perf_counter.h
index 61c2b40c802cfa134975c80e1d62dab5e089456a..d8e6bb9c0ccc75bee14438cd767630002f6400fa 100644
(file)
--- a/
arch/sh/include/asm/perf_counter.h
+++ b/
arch/sh/include/asm/perf_counter.h
@@
-4,4
+4,6
@@
/* SH only supports software counters through this interface. */
static inline void set_perf_counter_pending(void) {}
+#define PERF_COUNTER_INDEX_OFFSET 0
+
#endif /* __ASM_SH_PERF_COUNTER_H */