From a1a1e8a89aa9b44c20c98216df68953195caeea8 Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Sun, 3 Jun 2018 19:37:09 +0000 Subject: [PATCH] pmc: remove assert that is invalid in interrupt context --- sys/sys/pmckern.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/sys/pmckern.h b/sys/sys/pmckern.h index da2aae5fc840..1400666ac4d9 100644 --- a/sys/sys/pmckern.h +++ b/sys/sys/pmckern.h @@ -217,7 +217,6 @@ do { \ */ #define PMC_CALL_HOOK_UNLOCKED(t, cmd, arg) \ do { \ - MPASS(!in_epoch()); \ if (pmc_hook != NULL) \ (pmc_hook)((t), (cmd), (arg)); \ } while (0)