kernel - Move trap_is_smap() test outside of DDB condition
commitabd682fae0aeb45ccdbd802790d8123f7c0a2fac
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 22 Jun 2019 00:47:31 +0000 (21 17:47 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 22 Jun 2019 01:07:27 +0000 (21 18:07 -0700)
treefafedb5966a38edd996b545ec81c8ce1bc0cb7c0
parent756cddec61888e87764731a42f7aae5f73b72226
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