git: 96da64391de9 - stable/13 - hwpmc: fix PMC_CPU_LAST

Mitchell Horne mhorne at FreeBSD.org
Thu Jul 29 15:25:20 UTC 2021


The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=96da64391de97b2b6775e14d73a1749ea5c3030b

commit 96da64391de97b2b6775e14d73a1749ea5c3030b
Author:     Mitchell Horne <mhorne at FreeBSD.org>
AuthorDate: 2021-05-05 18:40:39 +0000
Commit:     Mitchell Horne <mhorne at FreeBSD.org>
CommitDate: 2021-07-29 15:01:09 +0000

    hwpmc: fix PMC_CPU_LAST
    
    It is unused, but incorrect.
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit f59127dac5ca0be3648ecc0a031a21e472afb133)
---
 sys/sys/pmc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
index 1486c7aa91c7..9328a7bdfa05 100644
--- a/sys/sys/pmc.h
+++ b/sys/sys/pmc.h
@@ -138,7 +138,7 @@ enum pmc_cputype {
 };
 
 #define	PMC_CPU_FIRST	PMC_CPU_AMD_K7
-#define	PMC_CPU_LAST	PMC_CPU_GENERIC
+#define	PMC_CPU_LAST	PMC_CPU_ARMV8_CORTEX_A76
 
 /*
  * Classes of PMCs


More information about the dev-commits-src-all mailing list