aboutsummaryrefslogtreecommitdiff
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-19 00:38:41 +0200
committerMoyster <oysterized@gmail.com>2016-08-26 19:59:35 +0200
commit46e56fe224f782b22bd148f77ba148576b6301cb (patch)
tree3bcb12030b470cba1d9a843b6b48a43f759410f3 /scripts/setlocalversion
parent17ff696d2b043a84b263726f3f0c08e8e80fd20d (diff)
MIPS: Fix sched_getaffinity with MT FPAFF enabled
commit 1d62d737555e1378eb62a8bba26644f7d97139d2 upstream. p->thread.user_cpus_allowed is zero-initialized and is only filled on the first sched_setaffinity call. To avoid adding overhead in the task initialization codepath, simply OR the returned mask in sched_getaffinity with p->cpus_allowed. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10740/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions