On 7/7/07, pradeep singh <[EMAIL PROTECTED]> wrote:
On 7/7/07, Rajat Jain <[EMAIL PROTECTED]> wrote:
[snip]
>
> Huh? So something like following is allowed?
Yes AFAICT.
>
> preempt_disable();
> udelay(5);
> preempt_enable();
>
> ?????
What is wrong with this code?

nothing.

This should work fine.
udelay is fine enough i guess.
It should be a prob if it is msleep(n) or usleep(n).

isn't it?

Yes.

yes/no?

Yes.

Did i miss something?

No.

Thanks,
Nish

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to