ACPICA removed our cast we need for gcc 2.95.3
Change-Id: I2e3f907708a174dbea6a34055e9dbbf4c2b7b1e7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3722 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
This commit is contained in:
parent
5e6773d56a
commit
fe0910891a
@ -198,11 +198,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