diff options
author | Juergen Gross <jgross@suse.com> | 2021-03-11 17:23:15 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-03-11 21:52:52 +0300 |
commit | 0b8d366a942fd48a83dfa728e9f8a8d8b20e735f (patch) | |
tree | 2d29f8d8a6872578026fca24ea56a17215e5a2e1 /arch/.gitignore | |
parent | 33634e42e38be61f320183dfc264b9caba292d4e (diff) | |
download | linux-0b8d366a942fd48a83dfa728e9f8a8d8b20e735f.tar.xz |
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 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions