Commit c5d0d77
KVM: PPC: Book3S HV: Delay setting of kvm ops
Delay the setting of kvm_hv_ops until after all init code has
completed. This avoids leaving the ops still accessible if the init
fails.
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220125155735.1018683-3-farosas@linux.ibm.com1 parent 69ab6ac commit c5d0d77
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6119 | 6119 | | |
6120 | 6120 | | |
6121 | 6121 | | |
6122 | | - | |
6123 | | - | |
6124 | | - | |
6125 | 6122 | | |
6126 | 6123 | | |
6127 | 6124 | | |
| |||
6137 | 6134 | | |
6138 | 6135 | | |
6139 | 6136 | | |
6140 | | - | |
| 6137 | + | |
6141 | 6138 | | |
| 6139 | + | |
| 6140 | + | |
6142 | 6141 | | |
6143 | | - | |
| 6142 | + | |
| 6143 | + | |
| 6144 | + | |
| 6145 | + | |
6144 | 6146 | | |
6145 | 6147 | | |
6146 | 6148 | | |
| |||
0 commit comments