i want to change the scdeduling algorithm of linux 2.4.36 writing the simple round robin i mean selecting process in schdule() function according to round robin . i am getting the following error at boot time after recompiling and restarting

Kernel painic : attempted to kill the idle_task

in idle_task not syncing

pl help if possible
thank u in advance

if any body want the code i have edited in schedule fn i can aslo provide...