aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-06-08 20:39:49 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-06-08 20:39:49 +0000
commit4f63fbc955b7de6332b3c5507f57389dbd6e75f8 (patch)
treef5021ace95a178e17a20da863b095fbeb21d7492 /sys
parent4d20e87b7e2b762efcf4880fb636dc9b066ad6b6 (diff)
downloadsrc-4f63fbc955b7de6332b3c5507f57389dbd6e75f8.tar.gz
src-4f63fbc955b7de6332b3c5507f57389dbd6e75f8.zip
hwpmc: remove dangling references to hwpmc_xscale
Reported by: mjg
Notes
Notes: svn path=/head/; revision=334857
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/hwpmc/hwpmc_arm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/hwpmc/hwpmc_arm.c b/sys/dev/hwpmc/hwpmc_arm.c
index a073ba4fca0e..e9e4aef7ec01 100644
--- a/sys/dev/hwpmc/hwpmc_arm.c
+++ b/sys/dev/hwpmc/hwpmc_arm.c
@@ -58,10 +58,6 @@ __FBSDID("$FreeBSD$");
struct pmc_mdep *
pmc_md_initialize()
{
-#ifdef CPU_XSCALE_IXP425
- if (cpu_class == CPU_CLASS_XSCALE)
- return pmc_xscale_initialize();
-#endif
#ifdef CPU_CORTEXA
if (cpu_class == CPU_CLASS_CORTEXA)
return pmc_armv7_initialize();
@@ -72,13 +68,6 @@ pmc_md_initialize()
void
pmc_md_finalize(struct pmc_mdep *md)
{
-#ifdef CPU_XSCALE_IXP425
- if (cpu_class == CPU_CLASS_XSCALE)
- pmc_xscale_finalize(md);
- else
- KASSERT(0, ("[arm,%d] Unknown CPU Class 0x%x", __LINE__,
- cpu_class));
-#endif
#ifdef CPU_CORTEXA
if (cpu_class == CPU_CLASS_CORTEXA)
pmc_armv7_finalize(md);