Skip to content
Commit 855edc4e authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman
Browse files

ARM: renumber bits related to _TIF_WORK_MASK



commit 191f8453 upstream.

We want to ensure that the mask related to calling do_work_pending()
is within the first 16 bits. Move bits unrelated to that outside of
that range, to avoid spuriously calling do_work_pending() when we don't
need to.

Cc: stable@vger.kernel.org
Fixes: 32d59773 ("arm: add support for TIF_NOTIFY_SIGNAL")
Reported-and-tested-by: default avatarHui Tang <tanghui20@huawei.com>
Suggested-by: default avatarRussell King (Oracle) <linux@armlinux.org.uk>
Link: https://lore.kernel.org/lkml/7ecb8f3c-2aeb-a905-0d4a-aa768b9649b5@huawei.com/


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 18f28f13
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment