mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 16:47:05 +07:00
db210426d4
budget.ko fails to build on ARM with: ERROR: "__bad_udelay" [drivers/media/dvb/ttpci/budget.ko] undefined! make[1]: *** [__modpost] Error 1 __bad_udelay is specifically designed on ARM to fail when udelay is called in a bad way. arch/arm/include/asm/delay.h has this to say about __bad_udelay: /* * This function intentionally does not exist; if you see references to * it, it means that you're calling udelay() with an out of range value. * * With currently imposed limits, this means that we support a max delay * of 2000us. Further limits: HZ<=1000 and bogomips<=3355 */ extern void __bad_udelay(void); Solution is to replace udelay by a mdelay and udelay with value less than 2000 Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
av7110_av.c | ||
av7110_av.h | ||
av7110_ca.c | ||
av7110_ca.h | ||
av7110_hw.c | ||
av7110_hw.h | ||
av7110_ipack.c | ||
av7110_ipack.h | ||
av7110_ir.c | ||
av7110_v4l.c | ||
av7110.c | ||
av7110.h | ||
budget-av.c | ||
budget-ci.c | ||
budget-core.c | ||
budget-patch.c | ||
budget.c | ||
budget.h | ||
fdump.c | ||
Kconfig | ||
Makefile | ||
ttpci-eeprom.c | ||
ttpci-eeprom.h |