[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] sleep , usleep and nanosleep for linux in PPC
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] sleep , usleep and nanosleep for linux in PPC |
Date: |
Tue, 14 Oct 2008 08:48:23 +0100 |
Hi Jyotshna,
You need to ask on a kernel mailing list, they will be able to give you
better guidance.
Regards, Stuart
On Mon, 2008-10-13 at 10:36 -0700, Jyotshna Cherukuri wrote:
> Thanks Stuart. When I called mdelay(1) it gave me
>
> unresolved symbol lops-per-jiffy on my target machine . Also I would
> appreciate if you could let me know for outw and inw.
>
> Thanks
> Jyotshna
>
> --- On Mon, 10/13/08, Stuart Hughes <address@hidden> wrote:
> From: Stuart Hughes <address@hidden>
> Subject: Re: [Ltib] sleep , usleep and nanosleep for linux in
> PPC
> To: address@hidden
> Cc: address@hidden
> Date: Monday, October 13, 2008, 11:40 AM
>
> Hi Jyotshna,
>
> usleep is for userspace not for kernel space. You'd need to call
> kernel
> interfaces (udelay? etc). The kernel mailing list may be more
> helpful.
>
> Regards, Stuart
>
> On Mon, 2008-10-13 at 07:45 -0700, Jyotshna Cherukuri
> wrote:
> > Hi All,
> > > >
> > > > I built a linux target for powerpc and when I copied the kernel
> > > > image and filesystem on to the taget board and when I tried to
> > > > install a module it gives me
> > > >
> > > > insmod: unresolved symbol usleep
> > > > insmod: unresolved symbol outw
> > > >
> > > > Can anyone please let me know to which header file I need to
> > include
> > > > for using usleep function in my code.
> > > >
> > > > I had already included unistd.h .
> > > >
> > > > Thanks in advance
> > > > Regards
> > > > Jyotshna Cherukuri
> >
> > _______________________________________________
> > LTIB home page: http://bitshrine.org
> >
> > Ltib mailing list
> > address@hidden
> >
> http://lists.nongnu.org/mailman/listinfo/ltib
>
>