X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fkmod.c;h=8df97d3dfda8611423d7cac323cb9ef5dce5170c;hb=62a8efe632be1815b544845db643f1fcd9afcfb0;hp=22be3ff3f363ac71a319deeb2f55fd0ccbe27c26;hpb=11d64be6a631236b3b3d21711c7d1a83d9f85904;p=linux-2.6 diff --git a/kernel/kmod.c b/kernel/kmod.c index 22be3ff3f3..8df97d3dfd 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -165,7 +166,7 @@ static int ____call_usermodehelper(void *data) } /* We can run anywhere, unlike our parent keventd(). */ - set_cpus_allowed(current, CPU_MASK_ALL); + set_cpus_allowed_ptr(current, CPU_MASK_ALL_PTR); /* * Our parent is keventd, which runs with elevated scheduling priority.