V4L/DVB (6291): Fix: avoid oops on some SMP machines
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 8 Oct 2007 14:48:57 +0000 (11:48 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 03:03:14 +0000 (00:03 -0300)
This workaround fix a bug that happens on some SMP machines. On those machines,
videobuf_iolock is called too soon, before file .mmap handler. This patch calls
the scheduler before iolocking, allowing it to properly call the pending mmap.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found