undefined symbol: __bad_udely (kernel modules)

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

 



Hi,

I am trying to call udelay from my kernel module.
And I am getting this undefined symbol error.

I checked up the relavant code
in linux/include/asm-arm/delay.h

#define udelay(n)                                               \
       (__builtin_constant_p(n) ?                              \
         ((n) > (MAX_UDELAY_MS * 1000) ? __bad_udelay() :      \
                       __const_udelay((n) * 0x68dbul)) :       \
         __udelay(n))


Now, where are these __const_udelay and __bad_udelay defined ??

TIA,
Alfred

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux