Make td_sqqueue explicitely signed, as we compare it with >= 0. On arm,

char defaults to unsigned.
This commit is contained in:
cognet 2007-10-16 19:57:36 +00:00
parent 39d6ab9801
commit 314e9f787e

View File

@ -277,7 +277,7 @@ struct thread {
volatile u_char td_owepreempt; /* (k*) Preempt on last critical_exit */
short td_locks; /* (k) Count of non-spin locks. */
u_char td_tsqueue; /* (j) Turnstile queue blocked on. */
char td_sqqueue; /* (j) Sleepqueue queue blocked on. */
signed char td_sqqueue; /* (j) Sleepqueue queue blocked on. */
struct turnstile *td_blocked; /* (j) Lock process is blocked on. */
void *td_ithd; /* (n) Unused, kept to preserve ABI. */
const char *td_lockname; /* (j) Name of lock blocked on. */