summaryrefslogtreecommitdiff
path: root/kern/mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex.c')
-rw-r--r--kern/mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/mutex.c b/kern/mutex.c
index e49c56c8..58e24513 100644
--- a/kern/mutex.c
+++ b/kern/mutex.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013 Richard Braun.
+ * Copyright (c) 2013-2014 Richard Braun.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@ void
mutex_lock_slow(struct mutex *mutex)
{
struct mutex_waiter waiter;
- unsigned long state;
+ unsigned int state;
spinlock_lock(&mutex->lock);