summaryrefslogtreecommitdiff
path: root/kern/lock.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-12 09:52:11 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-13 01:31:36 +0100
commitb2828ba4d9f6cfe1cbc61ae12f755e1b3d568776 (patch)
tree13009177eaf04ff2c9eecbfb2b31b67775307ce5 /kern/lock.c
parent66bd58f00d97eb59a353c3e2254c94c2ec2e6cbc (diff)
kern: remove register qualifiers
* kern/lock.c: Remove register qualifiers.
Diffstat (limited to 'kern/lock.c')
-rw-r--r--kern/lock.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/kern/lock.c b/kern/lock.c
index 44d4448..fb5e344 100644
--- a/kern/lock.c
+++ b/kern/lock.c
@@ -250,9 +250,9 @@ void lock_sleepable(
*/
void lock_write(
- register lock_t l)
+ lock_t l)
{
- register int i;
+ int i;
check_simple_locks();
simple_lock(&l->interlock);
@@ -308,7 +308,7 @@ void lock_write(
}
void lock_done(
- register lock_t l)
+ lock_t l)
{
simple_lock(&l->interlock);
@@ -340,9 +340,9 @@ void lock_done(
}
void lock_read(
- register lock_t l)
+ lock_t l)
{
- register int i;
+ int i;
check_simple_locks();
simple_lock(&l->interlock);
@@ -387,9 +387,9 @@ void lock_read(
* Returns TRUE if the upgrade *failed*.
*/
boolean_t lock_read_to_write(
- register lock_t l)
+ lock_t l)
{
- register int i;
+ int i;
check_simple_locks();
simple_lock(&l->interlock);
@@ -443,7 +443,7 @@ boolean_t lock_read_to_write(
}
void lock_write_to_read(
- register lock_t l)
+ lock_t l)
{
simple_lock(&l->interlock);
@@ -474,7 +474,7 @@ void lock_write_to_read(
*/
boolean_t lock_try_write(
- register lock_t l)
+ lock_t l)
{
simple_lock(&l->interlock);
@@ -513,7 +513,7 @@ boolean_t lock_try_write(
*/
boolean_t lock_try_read(
- register lock_t l)
+ lock_t l)
{
simple_lock(&l->interlock);
@@ -547,7 +547,7 @@ boolean_t lock_try_read(
* Returns FALSE if the upgrade *failed*.
*/
boolean_t lock_try_read_to_write(
- register lock_t l)
+ lock_t l)
{
check_simple_locks();
simple_lock(&l->interlock);