Commit e83b589
arm64: hyperv: Fix build breakage for non-ARM64 architectures
Commit [arm64: hyperv: Enable Hyper-V synthetic clocks/timers]
introduced changes to enable Hyper-V synthetic clocks and timers on
ARM64. However, these upstream changes led to build breakage on ARM64
architectures due to the use of the '__bss_decrypted' section, which is
not available on ARM64.
To address this issue, this commit adds conditional compilation to use
'__bss_decrypted' only on non-ARM64 architectures. The introduced
'#ifdef CONFIG_ARM64' ensures that the code involving '__bss_decrypted'
is not included when building for ARM64, preventing build failures.
Signed-off-by: Allen Pais <apais@microsoft.com>
[ Fix merge conflicts with fe11f97 ("hyperv-tlfs: Change prefix of
generic HV_REGISTER_* MSRs to HV_MSR_*"), reword commit message ]
Signed-off-by: Mitchell Levy <levymitchell0@gmail.com>1 parent cf6305b commit e83b589
2 files changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
378 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
379 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
380 | 383 | | |
| 384 | + | |
381 | 385 | | |
382 | 386 | | |
383 | 387 | | |
| |||
391 | 395 | | |
392 | 396 | | |
393 | 397 | | |
394 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
395 | 404 | | |
396 | 405 | | |
397 | 406 | | |
| |||
0 commit comments