]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: Add helper to decode register from instruction
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 9 Jan 2017 17:28:29 +0000 (17:28 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 10 Jan 2017 17:11:23 +0000 (17:11 +0000)
commit8c2dcbd2c4443bad0b4242fb62baa47b260b8f79
tree0ff1e138c7fdcccdc0ac75e44636f9252bd5df4a
parentc9ee0f98662a6e358b5f2969755c938ce9c3a63a
arm64: Add helper to decode register from instruction

Add a helper to extract the register field from a given
instruction.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/insn.h
arch/arm64/kernel/insn.c