LWN.net Logo

remove 614 includes of linux/sched.h

From:  Tim Schmielau <tim@physik3.uni-rostock.de>
To:  lkml <linux-kernel@vger.kernel.org>
Subject:  [PATCH *, testers wanted] remove 614 includes of linux/sched.h
Date:  Sun, 29 Sep 2002 21:27:46 +0200 (CEST)

Thanks to ongoing header file cleanups, many files including linux/sched.h
don't need to do so anymore. A patch for 2.5.39 to remove some 600 
occurences of
  #include <linux/sched.h>
and (hopefully) fix up resulting breakage because of indirect dependencies
can be found at

  http://www.physik3.uni-rostock.de/tim/kernel/2.5/sched.h-16.patch.gz

Extensive analysis using ctags and grep has been done, but surely cannot 
detect all problems.
So I'd be happy if people compile-tested this for different archs and 
configurations and reported problems as well as success to me.

After obtaining sufficient feedback I'll split up the patch and pass it 
through maintainers, which however needs to be a three-stage process 
due to inherent dependencies.

Tim

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2002, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds