]> 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>
Thu, 10 Jul 2025 13:57:42 +0000 (15:57 +0200)
commit8516edd36397b542d26132b934eb7873876db334
tree08d0ea76f7e9382a2b25ba2e12c1c26c752f9069
parent143842584c1237ebc248b2547c29d16bbe400a92
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