[PATCH] powerpc: Fix call to ibm,client-architecture-support
commit33b7497794424181dca87f18e43ecbc07f86bba5
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Jun 2006 02:01:32 +0000 (7 12:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Jun 2006 03:05:51 +0000 (9 13:05 +1000)
treebfcd314e42da1ef4098d272a7ab3f2f49da429a9
parent7c85d1f9d358b24c5b05c3a2783a78423775a080
[PATCH] powerpc: Fix call to ibm,client-architecture-support

The code in prom_init.c calling the firmware
ibm,client-architecture-support method on pSeries has a bug where it
fails to properly pass the instance handle of the firmware object when
trying to call a method. Result ranges from the call doing nothing to
the firmware crashing. (Found by Segher, thanks !)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_init.c