]> git.neil.brown.name Git - history.git/commit
[PATCH] explicit signed char cast in i386 spin_is_locked
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Aug 2002 05:23:21 +0000 (22:23 -0700)
committerChristoph Hellwig <hch@sb.bsdonline.org>
Thu, 1 Aug 2002 05:23:21 +0000 (22:23 -0700)
commit1ed8b3815263055e0eb0ec8eec4be438109876cc
treedd2f4e217de784a0b7864c80c42972a02e70afbb
parent0ff25cbe9ca30418d54e15d2380353c9e828845a
[PATCH] explicit signed char cast in i386 spin_is_locked

To make spinlock debugging work with -funsigned-char the i386 version
of spin_is_locked() needs to cast to signed char explicitly instead of
just char.  XFS needed -funsigned-char (and currently still has it),
but it doesn't evert hurt.
include/asm-i386/spinlock.h