diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2005-08-27 16:07:12 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2005-08-27 16:07:12 +0000 |
commit | d7310b9b9b760153f11c5eb8303522e79fe88928 (patch) | |
tree | 8dc51fcc95f9ab7e0e54e36f651ac9b6619e67e4 /sys/dev/hwpmc | |
parent | 28a21798c0ebbe29e88e9f6f0bfd54bdd9da565d (diff) | |
download | FreeBSD-src-d7310b9b9b760153f11c5eb8303522e79fe88928.zip FreeBSD-src-d7310b9b9b760153f11c5eb8303522e79fe88928.tar.gz |
Re-enable sampling on the AMD64.
Diffstat (limited to 'sys/dev/hwpmc')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_amd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/hwpmc/hwpmc_amd.c b/sys/dev/hwpmc/hwpmc_amd.c index 280e80a..6285f7f 100644 --- a/sys/dev/hwpmc/hwpmc_amd.c +++ b/sys/dev/hwpmc/hwpmc_amd.c @@ -474,11 +474,6 @@ amd_allocate_pmc(int cpu, int ri, struct pmc *pm, return 0; } -#if __amd64__ - if (pd->pd_caps & PMC_CAP_INTERRUPT) - return EOPNOTSUPP; /* XXX avoid a processor double fault */ -#endif - #if DEBUG KASSERT(pd->pd_class == amd_pmc_class, ("[amd,%d] Unknown PMC class (%d)", __LINE__, pd->pd_class)); |