Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 19:05:08 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f59127dac5ca - main - hwpmc: fix PMC_CPU_LAST
Message-ID:  <202105131905.14DJ58cG016387@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne:

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

commit f59127dac5ca0be3648ecc0a031a21e472afb133
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2021-05-05 18:40:39 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2021-05-13 19:02:59 +0000

    hwpmc: fix PMC_CPU_LAST
    
    It is unused, but incorrect.
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105131905.14DJ58cG016387>