]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] apm daemonize
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Feb 2003 12:22:21 +0000 (04:22 -0800)
committerVojtech Pavlik <vojtech@suse.cz>
Tue, 11 Feb 2003 12:22:21 +0000 (04:22 -0800)
Since daemonize now blocks all signals, this simplification is trivially
correct.

arch/i386/kernel/apm.c

index 86a426bbb9ac30e0f745bc5e39ec705fd11d601e..83524f1a0da50260b720e1d44f06f7a8a0e47540 100644 (file)
@@ -1745,7 +1745,6 @@ static int apm(void *unused)
        daemonize("kapmd");
 
        current->flags |= PF_IOTHREAD;
-       sigfillset(&current->blocked);
 
 #ifdef CONFIG_SMP
        /* 2002/08/01 - WT