commit | ce840177aaadf72f7d0fc7619bcbc12e4e8129bf | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Jul 27 20:46:25 2011 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Aug 15 18:31:40 2011 -0700 |
tree | dc9544a4551147f0a69c12ac6e84fa740d1fd438 | |
parent | 7cc3d70509d05b40ae926b8f6c886abab7ace827 [diff] |
sparc: Don't do expensive hypervisor PCR write unless necessary. [ Upstream commit 314ff52727fe94dfbe07f3a9a489ab3ca8d8df5a ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>