]> git.baikalelectronics.ru Git - kernel.git/commit
x86/asm: Add _ASM_BYTES() macro for a .byte ... opcode sequence
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Mon, 10 May 2021 09:09:39 +0000 (02:09 -0700)
committerIngo Molnar <mingo@kernel.org>
Mon, 10 May 2021 10:33:28 +0000 (12:33 +0200)
commitca5ab0bd29006d18dc7b6cd510d9fd3a4719c547
tree9ed3c850fd256ab6133f2ef676c784deb6dce7c2
parent325278031be6f348d60efd2961c60a3ce776bace
x86/asm: Add _ASM_BYTES() macro for a .byte ... opcode sequence

Make it easy to create a sequence of bytes that can be used in either
assembly proper on in a C asm() statement.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210510090940.924953-3-hpa@zytor.com
arch/x86/include/asm/asm.h