kernel/acpi: Bring in FreeBSD's r341632.
authorSascha Wildner <saw@online.de>
Thu, 27 Dec 2018 23:23:14 +0000 (00:23 +0100)
committerSascha Wildner <saw@online.de>
Thu, 27 Dec 2018 23:23:14 +0000 (00:23 +0100)
commit691b8c6665449fac82ab348e2c244865fd2b34d7
tree5a452876464dc2e36a8a2e0ce6eabf553fa2a7b4
parentadceedafb85f72d6c3d71e4eae3266b57c24025e
kernel/acpi: Bring in FreeBSD's r341632.

On specific machines (a Lenovo Ideapad 100-15IBD in this case) would fail
detecting the battery properly after 7bcb6caf98d72e1e5fd653428e604ea1.

See https://lists.freebsd.org/pipermail/svn-src-all/2018-December/173505.html
for further info.

Reported-by: mazocomp on #dragonflybsd.
Taken-from: FreeBSD
sys/dev/acpica/acpi.c