Skip to content
Commit 615c9136 authored by David S. Miller's avatar David S. Miller
Browse files

chmc: Mark %ver register inline asm with __volatile__



Otherwise GCC can try to do the register read before the guarding test
on us3mc_platform() being true.

If that happens we can take an exception, because %ver register reads
are not allowed in privileged more on hypervisor platforms.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 82960b85
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment