diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-26 18:27:32 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-07-29 23:30:34 +0200 |
commit | 012bf7321ab031b80c527753411bd54217a61ab9 (patch) | |
tree | f8b0f8f9a4bb3fa6990713d6c7eeab47df745588 /lib | |
parent | 2b56f06587c2fc6a093271e95bd8151059e719a3 (diff) | |
download | lwn-012bf7321ab031b80c527753411bd54217a61ab9.tar.gz lwn-012bf7321ab031b80c527753411bd54217a61ab9.zip |
rtmutex: implement lock replacement functions
Implement the base infrastructure to replace spinlocks for -rt.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel_lock.c b/lib/kernel_lock.c index f7874462effd..7e2ad7bd4223 100644 --- a/lib/kernel_lock.c +++ b/lib/kernel_lock.c @@ -24,7 +24,7 @@ * * Don't use in new code. */ -static DEFINE_SEMAPHORE(kernel_sem); +DEFINE_SEMAPHORE(kernel_sem); /* * Re-acquire the kernel semaphore. |