Move EPOCH_TRACE to opt_global.h, so that any external modules that

use epoch don't need Makefile tweaks.

The downside is that any developer who wants EPOCH_TRACE needs to
rebuild kernel in full, but that's fine.

Reviewed by:	imp
This commit is contained in:
Gleb Smirnoff 2019-09-26 21:12:47 +00:00
parent 17b984a638
commit 05ee75efe7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352778
2 changed files with 1 additions and 3 deletions

View File

@ -712,7 +712,7 @@ WITNESS_SKIPSPIN opt_witness.h
WITNESS_COUNT opt_witness.h
OPENSOLARIS_WITNESS opt_global.h
EPOCH_TRACE opt_epoch.h
EPOCH_TRACE opt_global.h
# options for ACPI support
ACPI_DEBUG opt_acpi.h

View File

@ -41,8 +41,6 @@ typedef struct epoch_context *epoch_context_t;
#include <sys/pcpu.h>
#include <ck_epoch.h>
#include "opt_epoch.h"
struct epoch;
typedef struct epoch *epoch_t;