]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: use newer RTAS call when available
authorPaul Mackerras <paulus@samba.org>
Sat, 8 Jan 2005 05:38:49 +0000 (21:38 -0800)
committerLinus Torvalds <torvalds@evo.osdl.org>
Sat, 8 Jan 2005 05:38:49 +0000 (21:38 -0800)
commit96f4e86836746cca80afe3b8ee32bc15a562ef6c
tree4c4520ce69fa10f8b57d8ff663a15f378e515838
parentc6744c49fa35053db691c8440ef092107da8441e
[PATCH] ppc64: use newer RTAS call when available

This patch is from Nathan Fontenot <nfont@austin.ibm.com> originally.

The PPC64 EEH code needs a small update to start using the
ibm,read-slot-reset-state2 rtas call if available.  The currently used
ibm,read-slot-reset-state call will be going away on future machines.

This patch attempts to use the newer rtas call if available and falls back
the older version otherwise.  This will maintain EEH slot checking
capabilities on all future and current firmware levels.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/eeh.c