diff options
author | Angela Stegmaier <angelabaker@ti.com> | 2010-08-31 13:14:29 -0500 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-08-31 20:15:56 -0500 |
commit | 390a12222008a33b5be32058007a9391e7977f2a (patch) | |
tree | a8f87ec505f6c530ecc1e04b298ceb0b5722f5cd /drivers | |
parent | 034c17b474e3abda8a3ee1f2c81d31241b67bd9c (diff) |
SYSLINK: ipc - Remove _ON_STACK from recovery completion declarations
This patch fixes the following kernel-hacking compile errors that are
present when the kernel-hacking for mutexes and spinlocks is enabled:
drivers/dsp/syslink/multicore_ipc/ipc_drv.c:76: error: braced-group
within expression allowed only inside a function
drivers/dsp/syslink/multicore_ipc/ipc_drv.c:77: error: braced-group
within expression allowed only inside a function
The fix is to change the DECLARE_COMPLETION_ON_STACK declarations to
DECLARE_COMPLETION.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dsp/syslink/multicore_ipc/ipc_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dsp/syslink/multicore_ipc/ipc_drv.c b/drivers/dsp/syslink/multicore_ipc/ipc_drv.c index de3388494fa9..8e321c2808d2 100644 --- a/drivers/dsp/syslink/multicore_ipc/ipc_drv.c +++ b/drivers/dsp/syslink/multicore_ipc/ipc_drv.c @@ -73,8 +73,8 @@ MODULE_LICENSE("GPL v2"); static atomic_t ipc_cref; /* number of ipc open handles */ static struct workqueue_struct *ipc_rec_queue; static struct work_struct ipc_recovery_work; -static DECLARE_COMPLETION_ONSTACK(ipc_comp); -static DECLARE_COMPLETION_ONSTACK(ipc_open_comp); +static DECLARE_COMPLETION(ipc_comp); +static DECLARE_COMPLETION(ipc_open_comp); static bool recover; struct iommu *piommu; struct omap_rproc *prproc_sysm3; |