]> git.baikalelectronics.ru Git - kernel.git/commit
x86/asm: Have the __ASM_FORM macros handle commas in arguments
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Mon, 10 May 2021 09:09:38 +0000 (02:09 -0700)
committerIngo Molnar <mingo@kernel.org>
Mon, 10 May 2021 10:33:28 +0000 (12:33 +0200)
commit325278031be6f348d60efd2961c60a3ce776bace
tree34569f304d8ca79f2d61feb15000c8655e350274
parent78f0a5f86683713bf30eae653c023ab078a37264
x86/asm: Have the __ASM_FORM macros handle commas in arguments

The __ASM_FORM macros are really useful, but in order to be able to
use them to define instructions via .byte directives breaks because of
the necessary commas. Change the macros to handle commas correctly.

[ mingo: Removed stray whitespaces & aligned the definitions vertically. ]

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-2-hpa@zytor.com
arch/x86/include/asm/asm.h