OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e938244
)
x86/paravirt: Use PVOP_* for paravirt calls
author
Peter Zijlstra
<peterz@infradead.org>
Thu, 24 Jun 2021 09:41:12 +0000
(11:41 +0200)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 15 Sep 2021 13:51:48 +0000
(15:51 +0200)
Doing unconditional indirect calls through the pv_ops vector is weird.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link:
https://lore.kernel.org/r/20210624095148.437720419@infradead.org
arch/x86/include/asm/paravirt.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/paravirt.h
b/arch/x86/include/asm/paravirt.h
index
89a5322
..
a13a9a3
100644
(file)
--- a/
arch/x86/include/asm/paravirt.h
+++ b/
arch/x86/include/asm/paravirt.h
@@
-52,11
+52,11
@@
void __init paravirt_set_cap(void);
/* The paravirtualized I/O functions */
static inline void slow_down_io(void)
{
-
pv_ops.cpu.io_delay(
);
+
PVOP_VCALL0(cpu.io_delay
);
#ifdef REALLY_SLOW_IO
-
pv_ops.cpu.io_delay(
);
-
pv_ops.cpu.io_delay(
);
-
pv_ops.cpu.io_delay(
);
+
PVOP_VCALL0(cpu.io_delay
);
+
PVOP_VCALL0(cpu.io_delay
);
+
PVOP_VCALL0(cpu.io_delay
);
#endif
}