chmc: Mark %ver register inline asm with __volatile__
authorDavid S. Miller <davem@davemloft.net>
Mon, 13 Oct 2008 06:56:12 +0000 (23:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Oct 2008 06:56:12 +0000 (23:56 -0700)
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: David S. Miller <davem@davemloft.net>

No differences found