Fix ACPI global lock acquisition in x86_64.
authorSascha Wildner <saw@online.de>
Sat, 17 Apr 2010 10:43:24 +0000 (13:43 +0300)
committerSascha Wildner <saw@online.de>
Sat, 17 Apr 2010 10:45:25 +0000 (13:45 +0300)
commitd21705bcc1c27c7b99fbd88bf6cb34a58add4666
tree8fc8b610e44fa6f0b2e2701acc4df8bcc8c76e67
parent09da298d59d41c0312d1677ee1cac382c23106d5
Fix ACPI global lock acquisition in x86_64.

This fixes a number of grave issues on my Sony VAIO VGN-Z51XG, such as
messages about not being able to acquire the global lock, freezes when
ACPI was fully enabled and a panic at shutdown.

BTW, gcc had been warning us about it for a long time. :)

In-collaboration-with: aggelos
sys/platform/pc64/include/acpica_machdep.h