V4L/DVB (5023): Fix compilation on ppc32 architecture
commit412297d31d439ba56cd4faeb3a49a6f569f40702
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 7 Jan 2007 11:51:05 +0000 (7 08:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 15 Jan 2007 18:33:51 +0000 (15 16:33 -0200)
tree65b1e29743c389327e8838bfe12be8fe3f9cac40
parent1323fbda1343f50f198bc8bd6d1d59c8b7fc45bf
V4L/DVB (5023): Fix compilation on ppc32 architecture

There's a problem, pointed by Meelis Roos <mroos@linux.ee>, that, on ppc32 arch,
with some gcc versions (noticed with prerelease 4.1.2 20061115), compilation
fails, due the lack of __ucmpdi2 to do the required 64-bit comparision.
This patch takes some sugestions made by Andrew Morton <akpm@osdl.org>,
Stelian Pop <stelian@popies.net> and Segher Boessenkool <segher@kernel.crashing.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/v4l2-common.c
include/linux/videodev2.h