udelay not exported to kernel(?)
Hello
I guess probably most here don't mess around with real time processes, so this wouldn't be noticed. I may need to in a while though.
Now, the problem is this:
udelay, which is used (at least) in linux/kerne/sched.c:sys_nanosleep when a process is running in real time mode doesn't seem to be compiled into the finished kernel (embedded-2.2.5), it is only available in the loader. This is of course on my own port, but looking at the source there is no EXPORT_SYMBOL(udelay) there among with the others.
Is this just me, or is it a real problem?
Would a udelay for all ports in ppc/lib/something.S (heavily #ifdef:d if needed) do it? This being how the string and memory functions have been exported.
Any thoughts?
Grateful for replies
/
Leif
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
Re: udelay not exported to kernel(?) - never mind :)
Hello again
Hint: don't try to understand the ppc code by looking at how the x86 did it :)
Especially not if you're tired.
Got a bit confused by the fact that:
a) there are different udelay:s for the loader and for the kernel itself
b) the udelay inside the kernel was an __inline__ and that's why it didn't show up in System.map :)
apologetically
/
Leif
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]