commit | e48b3deee475134585eed03e7afebe4bf9e0dba9 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Tue Feb 26 18:34:25 2008 -0500 |
committer | Matthew Wilcox <willy@linux.intel.com> | Thu Apr 17 10:42:27 2008 -0400 |
tree | 8a026147f9f50baf8cf15c79b84e502ab769088b | |
parent | 8b91de2e58318d1168bc13d164478c1a7217a63a [diff] |
Add semaphore.h to kernel_lock.c kernel_lock.c uses DECLARE_MUTEX, up() and down() without explicitly including asm/semaphore.h. This is fragile and leaves it vulnerable to breakage during header reorganisations. Signed-off-by: Matthew Wilcox <willy@linux.intel.com>