diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mutex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 6a735c72f23f..601479772b98 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h | |||
@@ -29,7 +29,8 @@ | |||
29 | * - task may not exit with mutex held | 29 | * - task may not exit with mutex held |
30 | * - memory areas where held locks reside must not be freed | 30 | * - memory areas where held locks reside must not be freed |
31 | * - held mutexes must not be reinitialized | 31 | * - held mutexes must not be reinitialized |
32 | * - mutexes may not be used in irq contexts | 32 | * - mutexes may not be used in hardware or software interrupt |
33 | * contexts such as tasklets and timers | ||
33 | * | 34 | * |
34 | * These semantics are fully enforced when DEBUG_MUTEXES is | 35 | * These semantics are fully enforced when DEBUG_MUTEXES is |
35 | * enabled. Furthermore, besides enforcing the above rules, the mutex | 36 | * enabled. Furthermore, besides enforcing the above rules, the mutex |