misdn: kill big kernel lock
The use of the big kernel lock in misdn is completely bogus, so let's just remove it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Karsten Keil <isdn@linux-pingi.de> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
72250d44bc
commit
1a19eb753a
1 changed files with 0 additions and 7 deletions
|
@ -18,7 +18,6 @@
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/mISDNif.h>
|
#include <linux/mISDNif.h>
|
||||||
#include <linux/kthread.h>
|
#include <linux/kthread.h>
|
||||||
#include <linux/smp_lock.h>
|
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
|
|
||||||
static u_int *debug;
|
static u_int *debug;
|
||||||
|
@ -205,13 +204,7 @@ mISDNStackd(void *data)
|
||||||
struct mISDNstack *st = data;
|
struct mISDNstack *st = data;
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
|
||||||
lock_kernel();
|
|
||||||
#endif
|
|
||||||
sigfillset(¤t->blocked);
|
sigfillset(¤t->blocked);
|
||||||
#ifdef CONFIG_SMP
|
|
||||||
unlock_kernel();
|
|
||||||
#endif
|
|
||||||
if (*debug & DEBUG_MSG_THREAD)
|
if (*debug & DEBUG_MSG_THREAD)
|
||||||
printk(KERN_DEBUG "mISDNStackd %s started\n",
|
printk(KERN_DEBUG "mISDNStackd %s started\n",
|
||||||
dev_name(&st->dev->dev));
|
dev_name(&st->dev->dev));
|
||||||
|
|
Loading…
Reference in a new issue