mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
The boot_{rdmsr,wrmsr}() helpers are *just* the barebones MSR access
functionality, without any tracing or exception handling glue as it is done in
kernel proper.
Move these helpers to asm/shared/msr.h and rename to raw_{rdmsr,wrmsr}() to
indicate what they are.
[ bp: Correct the reason why those helpers exist. I should've caught that in
the original patch that added them:
|
||
|---|---|---|
| .. | ||
| io.h | ||
| msr.h | ||
| tdx.h | ||