]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
For the Cortex-A8 use the a8 and not the a9 events table.
authorbz <bz@FreeBSD.org>
Wed, 14 Oct 2015 16:56:25 +0000 (16:56 +0000)
committerbz <bz@FreeBSD.org>
Wed, 14 Oct 2015 16:56:25 +0000 (16:56 +0000)
MFC after: 2 weeks
Sponsored by: DARPA/AFRL
Differential Revision: https://reviews.freebsd.org/D3882

lib/libpmc/libpmc.c

index 93056183dadfb49a07184c9ca648d21b970a6619..129c064b5c213512b8e7199c882ef2a40bee5f9c 100644 (file)
@@ -388,7 +388,7 @@ PMC_CLASS_TABLE_DESC(tsc, TSC, tsc, tsc);
 #if    defined(__XSCALE__)
 PMC_CLASS_TABLE_DESC(xscale, XSCALE, xscale, xscale);
 #endif
-PMC_CLASS_TABLE_DESC(cortex_a8, ARMV7, cortex_a9, armv7);
+PMC_CLASS_TABLE_DESC(cortex_a8, ARMV7, cortex_a8, armv7);
 PMC_CLASS_TABLE_DESC(cortex_a9, ARMV7, cortex_a9, armv7);
 #endif
 #if    defined(__aarch64__)