Messages in this thread Patch in this message | | | From | John Kacur <> | Subject | [PATCH 07/15] wwrap: Convert the semaphore mess | Date | Mon, 11 Jan 2010 21:51:46 +0100 |
| |
From: Thomas Gleixner <tglx@linutronix.de>
From 041e3130496f31d0cb4887fc6183117e662f5141 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner <tglx@linutronix.de> Date: Sun, 26 Jul 2009 00:59:33 +0200 Subject: [PATCH 124/570] staging: Bulk convert the semaphore mess
init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert staging users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
I broke the original patch down into separate patches per file because the original patch no longer applies.
Signed-off-by: John Kacur <jkacur@redhat.com> --- drivers/staging/otus/wwrap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/otus/wwrap.c b/drivers/staging/otus/wwrap.c index 53d2a45..ab54e31 100644 --- a/drivers/staging/otus/wwrap.c +++ b/drivers/staging/otus/wwrap.c @@ -1058,7 +1058,7 @@ u8_t zfLnxCreateThread(zdev_t *dev) /* Create Mutex and keventd */ INIT_WORK(&macp->kevent, kevent); - init_MUTEX(&macp->ioctl_sem); + semaphore_init(&macp->ioctl_sem); return 0; } -- 1.6.5.2
| |