diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2009-12-16 04:35:57 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-18 14:55:44 +1100 |
commit | c3a66359398028cd8e5f32611950dc7dc32ea2f2 (patch) | |
tree | e98e259fff561dab25140a19f7fe5107e8a4dfb5 /arch/powerpc | |
parent | 7a96c6b22efbd84e195836e192a3ce478cd6e14c (diff) | |
download | blackbird-op-linux-c3a66359398028cd8e5f32611950dc7dc32ea2f2.tar.gz blackbird-op-linux-c3a66359398028cd8e5f32611950dc7dc32ea2f2.zip |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/iseries/viopath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/iseries/viopath.c b/arch/powerpc/platforms/iseries/viopath.c index 49ff4dc422b7..5aea94f30836 100644 --- a/arch/powerpc/platforms/iseries/viopath.c +++ b/arch/powerpc/platforms/iseries/viopath.c @@ -116,7 +116,7 @@ static int proc_viopath_show(struct seq_file *m, void *v) u16 vlanMap; dma_addr_t handle; HvLpEvent_Rc hvrc; - DECLARE_COMPLETION(done); + DECLARE_COMPLETION_ONSTACK(done); struct device_node *node; const char *sysid; |