From: Kazunori Asayama Date: Fri, 29 Jun 2007 00:58:08 +0000 (+1000) Subject: [POWERPC] spufs: Fix lost events in poll/epoll on mfc X-Git-Tag: v2.6.23-rc1~767^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=933b0e35247ef0dbd1a078a0ba3705ddbbda129f;p=pandora-kernel.git [POWERPC] spufs: Fix lost events in poll/epoll on mfc When waiting for I/O events on mfc in an SPU context by using poll/epoll syscalls, some of the events can be lost because of wrong order of poll_wait and MFC status checks in the spufs_mfc_poll function and non-atomic update of tagwait. This fixes the problem. Signed-off-by: Kazunori Asayama Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed