Re: undefined symbol: __bad_udely (kernel modules)

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

 



On 7/13/06, alfred hitch <alfred.hitch@xxxxxxxxx> wrote:
Hi,
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 ??

__const_udelay seem to be in arch/.../lib/delay.c while I couldn't
find any place where __bad_udelay() is defined. Can anyone help us
out?

Jinesh.

--
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