Fix what I think is a cut-n-paste bug: use OID_AUTO for the
print_usertrap sysctl instead of CPU_UNALIGNED_PRINT. The latter is used already. Approved by: re@ (blanket)
This commit is contained in:
parent
5f2e028f9c
commit
fdd8b4a738
@ -76,7 +76,7 @@
|
||||
#endif
|
||||
|
||||
static int print_usertrap = 0;
|
||||
SYSCTL_INT(_machdep, CPU_UNALIGNED_PRINT, print_usertrap,
|
||||
SYSCTL_INT(_machdep, OID_AUTO, print_usertrap,
|
||||
CTLFLAG_RW, &print_usertrap, 0, "");
|
||||
|
||||
extern int unaligned_fixup(struct trapframe *framep, struct thread *td);
|
||||
|
Loading…
Reference in New Issue
Block a user