new compatibility header from Ian Abbott <abbotti@mev.co.uk>:
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 17 Feb 2005 22:58:33 +0000 (22:58 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 17 Feb 2005 22:58:33 +0000 (22:58 +0000)
commit0a8db4d3e8fdf85472bfd9273154bfab2b73633c
treead71731f0fbe8dd03e0821d88d5f8328e7c9e589
parentf7fac0af71efa75d5796c7999dbe38fd7d939f4d
new compatibility header from Ian Abbott <abbotti@mev.co.uk>:

Here's an asm/semaphore.h compatibility header to help build Comedi
drivers for kernel versions prior to 2.2.18.  It defines the following
missing macros:

init_MUTEX(x)
init_MUTEX_LOCKED(x)
DECLARE_MUTEX(name)
DECLARE_MUTEX_LOCKED(name)

I didn't define sema_init(sem, val) as I the implementation is
arch-dependent.
include/asm/semaphore.h [new file with mode: 0644]