* [PATCH] MIPS: APRP: Fix breakage due to new wait_event interface.
@ 2014-01-17 16:47 Steven J. Hill
2014-01-17 19:00 ` Sergei Shtylyov
0 siblings, 1 reply; 2+ messages in thread
From: Steven J. Hill @ 2014-01-17 16:47 UTC (permalink / raw)
To: linux-mips; +Cc: blogic
From: "Steven J. Hill" <Steven.Hill@imgtec.com>
Commit 35a2af94c7ce7130ca292c68b1d27fcfdb648f6b changed the
__wait_event*() interfaces. Fix the RTLX open() function to
use the new interface.
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
---
arch/mips/kernel/rtlx.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c
index 4658350..31b1b76 100644
--- a/arch/mips/kernel/rtlx.c
+++ b/arch/mips/kernel/rtlx.c
@@ -108,10 +108,9 @@ int rtlx_open(int index, int can_sleep)
p = vpe_get_shared(aprp_cpu_index());
if (p == NULL) {
if (can_sleep) {
- __wait_event_interruptible(
+ ret = __wait_event_interruptible(
channel_wqs[index].lx_queue,
- (p = vpe_get_shared(aprp_cpu_index())),
- ret);
+ (p = vpe_get_shared(aprp_cpu_index())));
if (ret)
goto out_fail;
} else {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: APRP: Fix breakage due to new wait_event interface.
2014-01-17 16:47 [PATCH] MIPS: APRP: Fix breakage due to new wait_event interface Steven J. Hill
@ 2014-01-17 19:00 ` Sergei Shtylyov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2014-01-17 19:00 UTC (permalink / raw)
To: Steven J. Hill, linux-mips; +Cc: blogic
Hello.
On 01/17/2014 07:47 PM, Steven J. Hill wrote:
> From: "Steven J. Hill" <Steven.Hill@imgtec.com>
> Commit 35a2af94c7ce7130ca292c68b1d27fcfdb648f6b changed the
> __wait_event*() interfaces. Fix the RTLX open() function to
> use the new interface.
> Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Deng-Cheng Zhu from the same firm posted such patch already. You should
coordinate better. :-)
WBR, Sergei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-17 18:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 16:47 [PATCH] MIPS: APRP: Fix breakage due to new wait_event interface Steven J. Hill
2014-01-17 19:00 ` Sergei Shtylyov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.