acpi spinlock breakage

Dave Jones
2003-04-02T16:10:11Z

osl stuff looks really borked in current 2.5-bk ..

drivers/acpi/osl.c: In function `acpi_os_acquire_lock':
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `magic' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `lock' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `babble' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `module' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `owner' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `oline' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `babble' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `lock' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `owner' in something not a structure or union
drivers/acpi/osl.c:739: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:739: request for member `oline' in something not a structure or union
drivers/acpi/osl.c: In function `acpi_os_release_lock':
drivers/acpi/osl.c:758: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:758: request for member `magic' in something not a structure or union
drivers/acpi/osl.c:758: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:758: request for member `lock' in something not a structure or union
drivers/acpi/osl.c:758: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:758: request for member `babble' in something not a structure or union
drivers/acpi/osl.c:758: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:758: request for member `module' in something not a structure or union
drivers/acpi/osl.c:758: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:758: request for member `babble' in something not a structure or union
drivers/acpi/osl.c:758: warning: dereferencing `void *' pointer
drivers/acpi/osl.c:758: request for member `lock' in something not a structure or union
make[2]: *** [drivers/acpi/osl.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2

Looks like its trying to spin_lock an 'acpi_handle',
which is typedef'd to void *

Dave