[PATCH] 2.6 ISDN CAPI: fix ncci list semaphore

From: Armin Schindler (armin_at_melware.de)
Date: 04/28/04

  • Next message: Jörn Engel: "Re: File system compression, not at the block layer"
    Date:	Wed, 28 Apr 2004 11:58:49 +0200
    To: torvalds@osdl.org, akpm@osdl.org
    
    

    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/


  • Next message: Jörn Engel: "Re: File system compression, not at the block layer"

    Relevant Pages

    • [PATCH 2.4.22] small config fix for ISDN
      ... this is the fix for drivers/isdn/Config.in, ... dep_bool ' PPP filtering for ISDN' CONFIG_IPPP_FILTER $CONFIG_FILTER ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 2.4.22][RESEND] small config fix for ISDN
      ... this is the fix for drivers/isdn/Config.in, ... dep_bool ' PPP filtering for ISDN' CONFIG_IPPP_FILTER $CONFIG_FILTER ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Power Management Update
      ... I encountered this problem by having an IDE CD-ROM, ... He mentioned producing a cleaner patch, but this should at least fix the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] fs/fcntl.c : dont test unsigned value for less than zero
      ... I think the real problem here is that 'arg' ... architecture's ptrace code could easily make use of the latter, ... But be careful not to "fix up" ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Testing RC kernels [KORG]
      ... Can someone with access to the html for kernel.org please fix that? ... We've had several messages now complaining about this. ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)