]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (5023): Fix compilation on ppc32 architecture
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 7 Jan 2007 11:51:05 +0000 (08:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 15 Jan 2007 18:33:51 +0000 (16:33 -0200)
commit9d302f2ecbe3368578d403251cea8a892828e6c0
tree65b1e29743c389327e8838bfe12be8fe3f9cac40
parentc8d79e1b940c69f05eda194b90fe591ac3cd03ba
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