summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/semaphore.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-02-26 18:34:25 -0500
committerMatthew Wilcox <willy@linux.intel.com>2008-04-17 10:42:27 -0400
commite48b3deee475134585eed03e7afebe4bf9e0dba9 (patch)
tree8a026147f9f50baf8cf15c79b84e502ab769088b /arch/frv/kernel/semaphore.c
parent8b91de2e58318d1168bc13d164478c1a7217a63a (diff)
downloadop-kernel-dev-e48b3deee475134585eed03e7afebe4bf9e0dba9.zip
op-kernel-dev-e48b3deee475134585eed03e7afebe4bf9e0dba9.tar.gz
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>
Diffstat (limited to 'arch/frv/kernel/semaphore.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud