powerpc/iseries: use DECLARE_COMPLETION_ONSTACK for non-constant completion
authorYong Zhang <yong.zhang0@gmail.com>
Wed, 16 Dec 2009 04:35:57 +0000 (04:35 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Dec 2009 03:55:44 +0000 (14:55 +1100)
commitc3a66359398028cd8e5f32611950dc7dc32ea2f2
treee98e259fff561dab25140a19f7fe5107e8a4dfb5
parent7a96c6b22efbd84e195836e192a3ce478cd6e14c
powerpc/iseries: use DECLARE_COMPLETION_ONSTACK for non-constant completion

The _ONSTACK variant should be used for on-stack completion,
otherwise it will break lockdep.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/iseries/viopath.c