2.2.2 compilation errors

Paul Mackerras paulus at cs.anu.edu.au
Mon Mar 1 09:57:47 EST 1999


Michel Lanners <mlan at cpu.lu> wrote:

> I get errors in drivers/scsi/scsi_error.c like this:
> 
> scsi_error.c: In function `scsi_error_handler':
> scsi_error.c:1975: structure has no member named `owner'
> 
> The structure it complains about is struct semaphore, as defined in
> include/asm/semaphore.h
> 
> Now, for PPC, we have a different (simpler) definition of struct
> semaphore, lacking some of the members that i386 has. Obviously, these
> members are referenced in drivers/scsi/scsi_error.c.

Linus put in the owner and owner_depth fields in struct semaphore
late in the 2.1 series, and then took them out again for 2.2.2.  You
must have an old copy of scsi_error.c.

Paul.

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]




More information about the Linuxppc-dev mailing list