diff options
Diffstat (limited to 'lib/libkse/sys/lock.h')
-rw-r--r-- | lib/libkse/sys/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/sys/lock.h b/lib/libkse/sys/lock.h index 9d4b994fd40b..917ca6379c4d 100644 --- a/lib/libkse/sys/lock.h +++ b/lib/libkse/sys/lock.h @@ -51,9 +51,9 @@ struct lock { /* Try to make this >= CACHELINESIZE */ struct lockreq { - volatile long lr_locked; /* lock granted = 0, busy otherwise */ struct lockuser *lr_watcher; /* only used for priority locks */ struct lockuser *lr_owner; /* only used for priority locks */ + volatile int lr_locked; /* lock granted = 0, busy otherwise */ volatile int lr_active; /* non-zero if the lock is last lock for thread */ }; |