diff options
Diffstat (limited to 'include/linux/lglock.h')
| -rw-r--r-- | include/linux/lglock.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/lglock.h b/include/linux/lglock.h index 0081f000e34b..c92ebd100d9b 100644 --- a/include/linux/lglock.h +++ b/include/linux/lglock.h  | |||
| @@ -52,10 +52,15 @@ struct lglock { | |||
| 52 | static struct lglock name = { .lock = &name ## _lock } | 52 | static struct lglock name = { .lock = &name ## _lock } | 
| 53 | 53 | ||
| 54 | void lg_lock_init(struct lglock *lg, char *name); | 54 | void lg_lock_init(struct lglock *lg, char *name); | 
| 55 | |||
| 55 | void lg_local_lock(struct lglock *lg); | 56 | void lg_local_lock(struct lglock *lg); | 
| 56 | void lg_local_unlock(struct lglock *lg); | 57 | void lg_local_unlock(struct lglock *lg); | 
| 57 | void lg_local_lock_cpu(struct lglock *lg, int cpu); | 58 | void lg_local_lock_cpu(struct lglock *lg, int cpu); | 
| 58 | void lg_local_unlock_cpu(struct lglock *lg, int cpu); | 59 | void lg_local_unlock_cpu(struct lglock *lg, int cpu); | 
| 60 | |||
| 61 | void lg_double_lock(struct lglock *lg, int cpu1, int cpu2); | ||
| 62 | void lg_double_unlock(struct lglock *lg, int cpu1, int cpu2); | ||
| 63 | |||
| 59 | void lg_global_lock(struct lglock *lg); | 64 | void lg_global_lock(struct lglock *lg); | 
| 60 | void lg_global_unlock(struct lglock *lg); | 65 | void lg_global_unlock(struct lglock *lg); | 
| 61 | 66 | ||
