Do not include sched.h from module.h. Also move some stuff to wait.hwhere it fits better (this part actually is from a patch by Dave Jones).This reduces the number of files directly or indirectly including sched.hfrom 5492 to 5057 on i386. Further reduction of this number is possibleand will be achieved with future patches.

Extensive ctags- and grep-based analysis was performed for allarchitectures to locate files that rely on indirectly includingsched.h through module.h. Fixes for these where submitted previously.Compile tested with allnoconfig, defconfig and allmodconfig oni386, x86_64, alpha, ppc64, ia64, arm, mips and um (not that allof these actually build, but make -k gives the same messages withand without this patch). Still this patch bears some risk of compilebreakage, which should however be easily fixed when uncovered.

Analysis and compile tests where done against 2.6.14-git3.A quick x86_64 only compile test seems to indicate the patch stillapplies well to 2.6.14-git7.