diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2022-11-08 18:41:17 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-11-24 11:09:18 +0100 |
commit | 634a9d5ec78ae2899725950dfb97b98ce7a2f0e4 (patch) | |
tree | 23898755cecce43512a495d7e2e7a6cf9e568de0 | |
parent | e8d7a90c08ce963c592fb49845f2ccc606a2ac21 (diff) | |
download | lwn-634a9d5ec78ae2899725950dfb97b98ce7a2f0e4.tar.gz lwn-634a9d5ec78ae2899725950dfb97b98ce7a2f0e4.zip |
perf/x86/amd: Remove the repeated declaration
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
-rw-r--r-- | arch/x86/events/perf_event.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/events/perf_event.h b/arch/x86/events/perf_event.h index 6a44aed7b100..0e849f28a5c1 100644 --- 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); |