aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh/adb.c')
-rw-r--r--drivers/macintosh/adb.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c
index adfea3c7c62a..bc77c5e2ca9f 100644
--- a/drivers/macintosh/adb.c
+++ b/drivers/macintosh/adb.c
@@ -248,21 +248,15 @@ static int adb_scan_bus(void)
248static int 248static int
249adb_probe_task(void *x) 249adb_probe_task(void *x)
250{ 250{
251 sigset_t blocked;
252
253 strcpy(current->comm, "kadbprobe"); 251 strcpy(current->comm, "kadbprobe");
254 252
255 sigfillset(&blocked);
256 sigprocmask(SIG_BLOCK, &blocked, NULL);
257 flush_signals(current);
258
259 printk(KERN_INFO "adb: starting probe task...\n"); 253 printk(KERN_INFO "adb: starting probe task...\n");
260 do_adb_reset_bus(); 254 do_adb_reset_bus();
261 printk(KERN_INFO "adb: finished probe task...\n"); 255 printk(KERN_INFO "adb: finished probe task...\n");
262 256
263 adb_probe_task_pid = 0; 257 adb_probe_task_pid = 0;
264 up(&adb_probe_mutex); 258 up(&adb_probe_mutex);
265 259
266 return 0; 260 return 0;
267} 261}
268 262