lkml.org 
[lkml]   [2004]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.162 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site