We are running LIS 2.18 on a PPC platform and it seems that spin locks are not 
working.
Looking at head/linux/lislocks.c, it looks like they have been disabled for the 
PPC.  Is this
correct, am I reading this correctly? 

Thanks
Gary Schumacher

int      _RP lis_spin_is_locked_fcn(lis_spin_lock_t *lock, FL)
{
    DCL_l ;
    (void) file; (void) line ;
    (void) l ;                          /* compiler happiness in 2.2 */
#if defined(_PPC_LIS_)
    return(0) ;                         /* PPC does not define this, odd */
#else
    return(spin_is_locked(l)) ;
#endif
}


SPECIAL NOTICE

All information transmitted hereby is intended only for the use of the
addressee(s) named above and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
of confidential and privileged information is prohibited. If the reader
of this message is not the intended recipient(s) or the employee or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that you must not read this transmission and that disclosure,
copying, printing, distribution or use of any of the information contained
in or attached to this transmission is STRICTLY PROHIBITED.

Anyone who receives confidential and privileged information in error should
notify us immediately by telephone and mail the original message to us at
the above address and destroy all copies.  To the extent any portion of this
communication contains public information, no such restrictions apply to that
information. (gate01)
_______________________________________________
Linux-streams mailing list
[email protected]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to