how can I put the CPU in sleep mode?
I want to put CPU in sleep mode that is I want to execute only Idle process on CPU for continuous 5 Sec. So I think that if i use msleep (5000) in kernel version 2.6 then I can achieve my aim. ( I dont know if I am wrong). But as in kernel 2.4 we dont have msleep () function, how can we make CPU to execute Idle task for 5 secs.?
Do we have some way of scheduling IDLE task for some secs??
Please help me in this regard. its very very urgent for me.
Thanks in advance.