]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: probes: Remove probe_opcode_t
authorMark Rutland <mark.rutland@arm.com>
Tue, 8 Oct 2024 15:58:51 +0000 (16:58 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Oct 2024 17:16:20 +0000 (18:16 +0100)
commit14762109de024837dafcb893d45ccaf6a08ac990
tree6468cc0871a8965f124919a25ad0ca515ecba0b2
parentdd0eb50e7c71fdd74f2ab0ef4b60bd6b27bbc670
arm64: probes: Remove probe_opcode_t

The probe_opcode_t typedef for u32 isn't necessary, and is a source of
confusion as it is easily confused with kprobe_opcode_t, which is a
typedef for __le32.

The typedef is only used within arch/arm64, and all of arm64's commn
insn code uses u32 for the endian-agnostic value of an instruction, so
it'd be clearer to use u32 consistently.

Remove probe_opcode_t and use u32 directly.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marnias@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241008155851.801546-7-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/probes.h
arch/arm64/kernel/probes/decode-insn.c
arch/arm64/kernel/probes/decode-insn.h
arch/arm64/kernel/probes/uprobes.c