kernel - Move trap_is_smap() test outside of DDB condition
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 22 Jun 2019 00:47:31 +0000 (17:47 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 22 Jun 2019 00:47:31 +0000 (17:47 -0700)
commit2cb716446feb09d7f5380995ff3dc45b92d90d33
tree3007eccdb5db7fd36381246562104553377a0ea1
parente13ee828096647df4f100b1fe311a8f091c6b419
kernel - Move trap_is_smap() test outside of DDB condition

* The trap_is_smap() test, and generally the code handling improper
  user mode accesses from kernel mode, must be placed outside the
  DDB conditional.
sys/platform/pc64/x86_64/trap.c