Commit afa4d09
Vineeth Remanan Pillai
arm64: hyperv: Do not call hyperv_init if not on Hyper-V
Kernel doesn't boot on baremetal as we try to initialize Hyper-V
related fields. So, call hyperv_init only if we are running as a
Hyper-V guest
Signed-off-by: Vineeth Remanan Pillai <[email protected]>
Reported-by: Praveen Paladugu <[email protected]>
Tested-by: Praveen Paladugu <[email protected]>1 parent dbcb218 commit afa4d09
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
0 commit comments