Commit 5f9e169
committed
KVM: arm64, x86: make kvm_arch_has_irq_bypass() inline
kvm_arch_has_irq_bypass() is a small function and even though it does
not appear in any *really* hot paths, it's also not entirely rare.
Make it inline---it also works out nicely in preparation for using it in
kvm-intel.ko and kvm-amd.ko, since the function is not currently exported.
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>1 parent 8ffd015 commit 5f9e169
File tree
4 files changed
+11
-10
lines changed- arch
- arm64
- include/asm
- kvm
- x86
- include/asm
- kvm
4 files changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1588 | 1588 | | |
1589 | 1589 | | |
1590 | 1590 | | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
1591 | 1596 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2743 | 2743 | | |
2744 | 2744 | | |
2745 | 2745 | | |
2746 | | - | |
2747 | | - | |
2748 | | - | |
2749 | | - | |
2750 | | - | |
2751 | 2746 | | |
2752 | 2747 | | |
2753 | 2748 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
2423 | 2424 | | |
2424 | 2425 | | |
2425 | 2426 | | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
2426 | 2432 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13556 | 13556 | | |
13557 | 13557 | | |
13558 | 13558 | | |
13559 | | - | |
13560 | | - | |
13561 | | - | |
13562 | | - | |
13563 | | - | |
13564 | 13559 | | |
13565 | 13560 | | |
13566 | 13561 | | |
| |||
0 commit comments