]> git.baikalelectronics.ru Git - kernel.git/commit
video1394: small optimizations to frame retrieval codepath
authorDaniel Drake <ddrake@brontes3d.com>
Wed, 18 Oct 2006 20:37:14 +0000 (21:37 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 20:31:04 +0000 (21:31 +0100)
commit5f346a9e840fb5d504c21d111334f1f6b4e9d361
treea5bedb18e8df5fd6349f35053d55b3701aa025bf
parent6d53b6f70a366fdb3ad2be0e1add0a6a296be2ca
video1394: small optimizations to frame retrieval codepath

Add some GCC branch prediction optimizations to unlikely error/safety
conditions in the ioctl handling code commonly called during an application's
capture loop.

Signed-off-by: Daniel Drake <ddrake@brontes3d.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/video1394.c