diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-07-15 23:41:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 09:05:50 -0700 |
commit | 1b6dd9baa728d8ef329cc9a7e73e511e29055856 (patch) | |
tree | 6f599bef9231f4556df11bd3314c5b6d73d72b96 /drivers/macintosh | |
parent | 4210df283cc703bc494f450c91b8311bdf7fe5ee (diff) | |
download | kernel-crypto-1b6dd9baa728d8ef329cc9a7e73e511e29055856.tar.gz kernel-crypto-1b6dd9baa728d8ef329cc9a7e73e511e29055856.tar.xz kernel-crypto-1b6dd9baa728d8ef329cc9a7e73e511e29055856.zip |
adb_probe_task: remove unneeded flush_signals() call
adb_probe_task() is forked by "events" thread, all signals are ignored, no
need to play with signal blocking/flushing.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/adb.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c index adfea3c7c62..bc77c5e2ca9 100644 --- a/drivers/macintosh/adb.c +++ b/drivers/macintosh/adb.c @@ -248,21 +248,15 @@ static int adb_scan_bus(void) static int adb_probe_task(void *x) { - sigset_t blocked; - strcpy(current->comm, "kadbprobe"); - sigfillset(&blocked); - sigprocmask(SIG_BLOCK, &blocked, NULL); - flush_signals(current); - printk(KERN_INFO "adb: starting probe task...\n"); do_adb_reset_bus(); printk(KERN_INFO "adb: finished probe task...\n"); - + adb_probe_task_pid = 0; up(&adb_probe_mutex); - + return 0; } |