IRIX spinlock patch from James Peach <jpeach@sgi.com>.