]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commitd5f1b01644b6fd5e9eb480a4762cd6b569cb1246
tree817c0b83d2c64e2b5d7f2f5de93ebdbc7d1705b7
parent5ddff43435394c1c2540fcdeed00cb54862c31bf
V4L/DVB (6291): Fix: avoid oops on some SMP machines

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>
drivers/media/video/videobuf-core.c