kernel/acpi: Improve the disabling of Debug object dumping.
authorSascha Wildner <saw@online.de>
Sun, 11 May 2014 19:16:54 +0000 (21:16 +0200)
committerSascha Wildner <saw@online.de>
Sun, 11 May 2014 19:17:24 +0000 (21:17 +0200)
commitc9ed7d9ef60d6ffb82c02ec4822a68a29703a389
tree52a6cad5720a3c15e390246a175af4e465860851
parenteb4cd9be9b816a30624f0940a9b64b585250dd87
kernel/acpi: Improve the disabling of Debug object dumping.

It is actually a global in ACPICA (since 20100304) so add a new
sysctl debug.acpi.enable_debug_objects that can be used to toggle
it, with the default being 0.

This commit reverts e59c6bdadc7ee647f2ac508a3d1c210b89a680b1 which
solved it differently (in the ACPICA code).

Taken-from:  FreeBSD
Reported-by: dillon (iirc)
share/man/man4/acpi.4
sys/contrib/dev/acpica/source/include/acoutput.h
sys/dev/acpica/acpi.c