sparc: Don't do expensive hypervisor PCR write unless necessary.
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 03:46:25 +0000 (20:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 03:46:25 +0000 (20:46 -0700)
commit314ff52727fe94dfbe07f3a9a489ab3ca8d8df5a
treedf8bbc25ebe7e6f0da73403c5e2b9def2c37f2df
parent15e3608d7c273947dbf2eadbcaa66e51143928fb
sparc: Don't do expensive hypervisor PCR write unless necessary.

The hypervisor call is only necessary if hypervisor events are
being requested.

So if we're not tracking hypervisor events, simply do a direct
register write.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pcr.c