]> err.no Git - linux-2.6/commit
[POWERPC] pseries: Eliminate global error_log_cnt variable
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 9 Aug 2007 20:56:41 +0000 (06:56 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:52 +0000 (11:01 +1000)
commit0f2342c85df4248bc1cd72421b13969a0782ed6a
treeb72286b35e4bb7502ea504ae5e6ddebd6da725d8
parent79c0108d1b9db4864ab77b2a95dfa04f2dcf264c
[POWERPC] pseries: Eliminate global error_log_cnt variable

Eliminate the use of error_log_cnt as a global var shared across
different directories.  Pass it as a parameter instead.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
----

Respin of earlier patch, with the CONFIG_PSERIES junk removed from the
header file.

 arch/powerpc/kernel/nvram_64.c         |   10 +++++-----
 arch/powerpc/platforms/pseries/rtasd.c |    7 ++++---
 include/asm-powerpc/nvram.h            |    6 ++++--
 3 files changed, 13 insertions(+), 10 deletions(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/nvram_64.c
arch/powerpc/platforms/pseries/rtasd.c
include/asm-powerpc/nvram.h