summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2009-12-16 05:35:57 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-12-18 04:55:44 +0100
commitc3a66359398028cd8e5f32611950dc7dc32ea2f2 (patch)
treee98e259fff561dab25140a19f7fe5107e8a4dfb5 /arch
parentpowerpc: Fix MSI support on U4 bridge PCIe slot (diff)
downloadlinux-c3a66359398028cd8e5f32611950dc7dc32ea2f2.tar.xz
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')
-rw-r--r--arch/powerpc/platforms/iseries/viopath.c2
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;