OSDN Git Service

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)
commiteef23e72b78b36924aea8be5ec7c54e628c442ef
tree27cbbcc08fb1c111a55fa072ae5b52cc702b8b78
parentd88be187a6e6f3a97dfa7ddc500bb9ca191b3772
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