Re: [PATCH] Teach drivers/media/IR/ir-raw-event.c to use durations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-04-08 at 18:10 +0200, David Härdeman wrote:

> With this patch:
> 
> s64 int's are used to represent pulse/space durations in ns

If performing divides on 64 bit numbers, please check to make sure your
code compiles, links, and loads on a 32-bit system.

We've had problems in the past in where gcc will build the module to
reference __udivdi3 under 32-bit kernels; but that symbol is not in the
kernel.

Search for 'do_div' in:

	linux/drivers/media/video/cx18/cx18-av-core.c

for a simple example divide that works on both 64 and 32 bit machines.

Regards,
Andy

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux