]> 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 09:00:17 +0000 (11:00 +0200)
commit18d3f9b8e4b99bc7d7c0da6f792cb0cae3cc7a93
tree5281478ce12bf06a3492be87a4689f72ba2e27cf
parentf9917821c527d7d1321b41aa4b4e3acdd8651946
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