]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 9354/1: ptrace: Use bitfield helpers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 26 Feb 2024 11:25:01 +0000 (12:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Jul 2025 08:58:04 +0000 (10:58 +0200)
commit71254ea1cb4c6cacf528074186e910c64c58bb6c
tree1d7365319ac4ba68273333186c0bf5c008664355
parent6be310c892a43b54845e715d4ef9590768f643f3
ARM: 9354/1: ptrace: Use bitfield helpers

commit b36e78b216e632d90138751e4ff80044de303656 upstream.

The isa_mode() macro extracts two fields, and recombines them into a
single value.

Make this more obvious by using the FIELD_GET() helper, and shifting the
result into its final resting place.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/asm/ptrace.h