Messages in this thread Patch in this message | | | Date | Wed, 28 Apr 2004 11:58:49 +0200 | From | Armin Schindler <> | Subject | [PATCH] 2.6 ISDN CAPI: fix ncci list semaphore |
| |
Hi Andrew, Hi Linus,
this patch fixes the new ncci-list semaphore when CONFIG_ISDN_CAPI_MIDDLEWARE is disabled.
Please apply.
Thanks, Armin
Name: ISDN CAPI: fix ncci list semaphore Author: Armin Schindler
D: Fix new ISDN CAPI's internal ncci list semaphore if CONFIG_ISDN_CAPI_MIDDLEWARE is disabled. Thanks to Florian Schirmer.
--- linux/drivers/isdn/capi/capi.c.orig Wed Apr 28 11:49:49 2004 +++ linux/drivers/isdn/capi/capi.c Wed Apr 28 11:50:12 2004 @@ -1,4 +1,4 @@ -/* $Id: capi.c,v 1.1.2.6 2004/04/26 09:33:07 armin Exp $ +/* $Id: capi.c,v 1.1.2.7 2004/04/28 09:48:59 armin Exp $ * * CAPI 2.0 Interface for Linux * @@ -45,7 +45,7 @@ #include "capifs.h" #endif -static char *revision = "$Revision: 1.1.2.6 $"; +static char *revision = "$Revision: 1.1.2.7 $"; MODULE_DESCRIPTION("CAPI4Linux: Userspace /dev/capi20 interface"); MODULE_AUTHOR("Carsten Paeth"); @@ -927,8 +927,8 @@ if ((mp = nccip->minorp) != 0) { count += atomic_read(&mp->ttyopencount); } - up(&cdev->ncci_list_sem); #endif /* CONFIG_ISDN_CAPI_MIDDLEWARE */ + up(&cdev->ncci_list_sem); return count; } return 0; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |