DragonFlyBSD/src 529b045sys/dev/acpica acpi.c

kernel/acpi: Fix debug.acpi.allow_method_calls functionality.

Adding SMAP (Supervisor Mode Access Protection) support back in May
(see 48c77f2b85f9ed807532e99b7187e6f5b5aa2975) caused it to (correctly)
panic on certain machines, such as the Dell XPS 9560, due to trying to
use a userspace pointer from the kernel.

FreeBSD has since fixed this in their sysutils/acpi_call port. This
commit pulls in these changes.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230993 for the
FreeBSD PR.

Submitted-by: Khamba Staring <qdk at quickdekay.net>
DeltaFile
+132-37sys/dev/acpica/acpi.c
+132-371 files

UnifiedSplitRaw