kernel/acpi: Work around a "shift count exceeding the type width" issue.
authorSascha Wildner <saw@online.de>
Tue, 29 Mar 2016 06:41:25 +0000 (08:41 +0200)
committerSascha Wildner <saw@online.de>
Tue, 29 Mar 2016 06:41:25 +0000 (08:41 +0200)
commit3b9bfd22b87e14e4bf19ebd9334707cebb4a8818
treed7d053b1f1946f634f538565c57109cd55c48dd2
parent2ffe9f16c64a590bc6653e0284f95075c1319abb
kernel/acpi: Work around a "shift count exceeding the type width" issue.

Triggered when AccessWidth is 32, like when called from AcpiGetTimer()
via acpi_timer.

More information: https://bugs.acpica.org/show_bug.cgi?id=1270

Reported-by: arcade, mneumann
Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2896>
sys/contrib/dev/acpica/source/components/hardware/hwregs.c