]> git.baikalelectronics.ru Git - kernel.git/commit
x86/asm: Use _ASM_BYTES() in <asm/nops.h>
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Mon, 10 May 2021 09:09:40 +0000 (02:09 -0700)
committerIngo Molnar <mingo@kernel.org>
Mon, 10 May 2021 10:33:28 +0000 (12:33 +0200)
commit90becce9e62badf6a89bfd7b8bb3b2faf7c08ca3
tree27cbbcc08fb1c111a55fa072ae5b52cc702b8b78
parentf17611623bb8f0f5a61cc1576aec76d438ccc207
x86/asm: Use _ASM_BYTES() in <asm/nops.h>

Use the new generalized _ASM_BYTES() macro from <asm/asm.h> instead of
the "home grown" _ASM_MK_NOP() in <asm/nops.h>.

Add <asm/asm.h> and update <asm/nops.h> in the tools directory...

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-4-hpa@zytor.com
arch/x86/include/asm/nops.h
tools/arch/x86/include/asm/asm.h [new file with mode: 0644]
tools/arch/x86/include/asm/nops.h