1
linux/drivers/media/dvb
David Wong 92fda216b4 V4L/DVB (13541): atbm8830: replace 64-bit division and floating point usage
Randy Dunlap wrote:
> On Mon, 30 Nov 2009 10:07:21 -0800 Randy Dunlap wrote:
>
>> Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20091127:
>>>
>>> The v4l-dvb tree lost its conflict.
>>
>> on i386 (X86_32):
>>
>> a 'double' variable is used, causing:
>>
>> ERROR: "__floatunsidf" [drivers/media/common/tuners/max2165.ko] undefined!
>> ERROR: "__adddf3" [drivers/media/common/tuners/max2165.ko] undefined!
>> ERROR: "__fixunsdfsi" [drivers/media/common/tuners/max2165.ko] undefined!
>
>
> linux-next-20091202:
>
> still have this one (above) and similar with
> drivers/media/dvb/frontends/atbm8830.c:
>
> drivers/built-in.o: In function `atbm8830_init':
> atbm8830.c:(.text+0x9012f9): undefined reference to `__udivdi3'
> atbm8830.c:(.text+0x901384): undefined reference to `__floatunsidf'
> atbm8830.c:(.text+0x901395): undefined reference to `__muldf3'
> atbm8830.c:(.text+0x9013a5): undefined reference to `__floatunsidf'
> atbm8830.c:(.text+0x9013b2): undefined reference to `__divdf3'
> atbm8830.c:(.text+0x9013c3): undefined reference to `__muldf3'
> atbm8830.c:(.text+0x9013cd): undefined reference to `__fixunsdfsi'
>
> ---
> ~Randy
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

This patch replace 64-bit division by do_div() macro and remove usage of
floating point variable

Signed-off-by: David T. L. Wong <davidtlwong@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-05 18:42:22 -02:00
..
b2c2 V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2 2009-09-12 12:17:52 -03:00
bt8xx V4L/DVB (13523): dvb-bt8xx: fix compile warning 2009-12-05 18:42:15 -02:00
dm1105 V4L/DVB (13537): ir: Prepare the code for dynamic keycode table allocation 2009-12-05 18:42:21 -02:00
dvb-core V4L/DVB (13271): TS speed check. Logging transport stream speed in Kbits per second 2009-12-05 18:41:11 -02:00
dvb-usb V4L/DVB (13479): cxusb: fix compile warning 2009-12-05 18:42:06 -02:00
firewire V4L/DVB (13410): firedtv: remove an unnecessary function argument 2009-12-05 18:41:44 -02:00
frontends V4L/DVB (13541): atbm8830: replace 64-bit division and floating point usage 2009-12-05 18:42:22 -02:00
pluto2 V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
pt1 V4L/DVB (13522): valj5jf8007s/t: fix compile warnings 2009-12-05 18:42:15 -02:00
siano V4L/DVB (13416): smssdio: initialize return value 2009-12-05 18:41:46 -02:00
ttpci V4L/DVB (13537): ir: Prepare the code for dynamic keycode table allocation 2009-12-05 18:42:21 -02:00
ttusb-budget
ttusb-dec V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string 2009-12-05 18:41:45 -02:00
Kconfig V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00
Makefile V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00