diff options
author | 2021-03-11 15:23:15 +0100 | |
---|---|---|
committer | 2021-03-11 19:52:52 +0100 | |
commit | 0b8d366a942fd48a83dfa728e9f8a8d8b20e735f (patch) | |
tree | 2d29f8d8a6872578026fca24ea56a17215e5a2e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/paravirt: Remove no longer needed 32-bit pvops cruft (diff) | |
download | wireguard-linux-0b8d366a942fd48a83dfa728e9f8a8d8b20e735f.tar.xz wireguard-linux-0b8d366a942fd48a83dfa728e9f8a8d8b20e735f.zip |
x86/paravirt: Simplify paravirt macros
The central pvops call macros ____PVOP_CALL() and ____PVOP_VCALL() are
looking very similar now.
The main differences are using PVOP_VCALL_ARGS or PVOP_CALL_ARGS, which
are identical, and the return value handling.
So drop PVOP_VCALL_ARGS and instead of ____PVOP_VCALL() just use
(void)____PVOP_CALL(long, ...).
Note that it isn't easily possible to just redefine ____PVOP_VCALL()
to use ____PVOP_CALL() instead, as this would require further hiding of
commas in macro parameters.
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210311142319.4723-11-jgross@suse.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions