From d7310b9b9b760153f11c5eb8303522e79fe88928 Mon Sep 17 00:00:00 2001 From: jkoshy Date: Sat, 27 Aug 2005 16:07:12 +0000 Subject: Re-enable sampling on the AMD64. --- sys/dev/hwpmc/hwpmc_amd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/dev/hwpmc/hwpmc_amd.c') 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)); -- cgit v1.1