diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-07-20 23:06:52 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-07-20 23:06:52 +0000 |
commit | 7008829524759b347301fe53c3f85958ff850a81 (patch) | |
tree | eab8273659d668587b5f0b89c06723e2be7c8d2b /sys/dev/pci | |
parent | b814ce8068472c8fa6e5bc512077cd5f677d643a (diff) |
Get rid of `ddb_is_active' instead use `db_active'.
From Christian Ludwig <christian_ludwig at genua dot de>
ok visa@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/include/linux/kernel.h | 4 | ||||
-rw-r--r-- | sys/dev/pci/drm/include/linux/kgdb.h | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/include/linux/kernel.h b/sys/dev/pci/drm/include/linux/kernel.h index 188efad2f4f..d0b274c88c8 100644 --- a/sys/dev/pci/drm/include/linux/kernel.h +++ b/sys/dev/pci/drm/include/linux/kernel.h @@ -9,8 +9,6 @@ #include <sys/stdarg.h> #include <sys/malloc.h> -#include <ddb/db_var.h> - #include <linux/types.h> #include <linux/compiler.h> #include <linux/bitops.h> @@ -119,7 +117,7 @@ static inline int _in_dbg_master(void) { #ifdef DDB - return (db_is_active); + return (db_active); #endif return (0); } diff --git a/sys/dev/pci/drm/include/linux/kgdb.h b/sys/dev/pci/drm/include/linux/kgdb.h index 73759b3be75..874a0ebe0be 100644 --- a/sys/dev/pci/drm/include/linux/kgdb.h +++ b/sys/dev/pci/drm/include/linux/kgdb.h @@ -3,13 +3,13 @@ #ifndef _LINUX_KGDB_H #define _LINUX_KGDB_H -#include <ddb/db_var.h> +#include <sys/systm.h> static inline int in_dbg_master(void) { #ifdef DDB - return (db_is_active); + return (db_active); #endif return (0); } |