projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8d7a90
)
perf/x86/amd: Remove the repeated declaration
author
Shaokun Zhang
<zhangshaokun@hisilicon.com>
Tue, 8 Nov 2022 10:41:17 +0000
(18:41 +0800)
committer
Peter Zijlstra
<peterz@infradead.org>
Thu, 24 Nov 2022 10:09:18 +0000
(11:09 +0100)
The function 'amd_brs_disable_all' is declared twice in
commit
ada543459cab
("perf/x86/amd: Add AMD Fam19h Branch Sampling support").
Remove one of them.
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://lkml.kernel.org/r/20221108104117.46642-1-zhangshaokun@hisilicon.com
arch/x86/events/perf_event.h
patch
|
blob
|
history
diff --git
a/arch/x86/events/perf_event.h
b/arch/x86/events/perf_event.h
index 6a44aed7b1007dfe1be60d0e0df31283168a938a..0e849f28a5c12006d1dc3a103b31f535d126fbd1 100644
(file)
--- a/
arch/x86/events/perf_event.h
+++ b/
arch/x86/events/perf_event.h
@@
-1320,7
+1320,6
@@
void amd_brs_enable_all(void);
void amd_brs_disable_all(void);
void amd_brs_drain(void);
void amd_brs_lopwr_init(void);
-void amd_brs_disable_all(void);
int amd_brs_hw_config(struct perf_event *event);
void amd_brs_reset(void);