]> err.no Git - linux-2.6/commit
[POWERPC] pseries: Avoid excess rtas_token calls
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 9 Aug 2007 21:01:50 +0000 (07:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:52 +0000 (11:01 +1000)
commita4fc3a3cead7f9e00dc0f6e00238b11c030f94cc
tree94d4b39d51a73970c9eab3a63390b71295adfd87
parentf774216d465959a4777ac3de67f33bf75ecd4a76
[POWERPC] pseries: Avoid excess rtas_token calls

We don't need to look up the rtas event token once per
cpu per second.  This avoids some misc device-tree lookups
and string ops and so provides some minor performance
improvement.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
----
Revised commit-log message.

 arch/powerpc/platforms/pseries/rtasd.c |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/rtasd.c