Cast ACPI UINT32* to uint32* to avoid warning on 32 bit builds.
This commit is contained in:
parent
95c239a3fb
commit
f18e21a832
@ -165,11 +165,11 @@ extern int AcpiOsAcquireGlobalLock(uint32 *lock);
|
||||
extern int AcpiOsReleaseGlobalLock(uint32 *lock);
|
||||
|
||||
#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) do { \
|
||||
(Acq) = AcpiOsAcquireGlobalLock(&((GLptr)->GlobalLock)); \
|
||||
(Acq) = AcpiOsAcquireGlobalLock((uint32 *)&((GLptr)->GlobalLock)); \
|
||||
} while (0)
|
||||
|
||||
#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Acq) do { \
|
||||
(Acq) = AcpiOsReleaseGlobalLock(&((GLptr)->GlobalLock)); \
|
||||
(Acq) = AcpiOsReleaseGlobalLock((uint32 *)&((GLptr)->GlobalLock)); \
|
||||
} while (0)
|
||||
|
||||
#else /* _KERNEL_MODE */
|
||||
|
Loading…
Reference in New Issue
Block a user