Messages in this thread | | | Date | Thu, 15 Sep 2005 12:20:50 +0400 | From | Alexey Dobriyan <> | Subject | Re: [PATCH] Separate tainted code from panic code |
| |
On Tue, Sep 13, 2005 at 05:28:16PM -0700, Andrew Morton wrote: > Alexey Dobriyan <adobriyan@gmail.com> wrote: > > * Create kernel/tainted.c and include/linux/tainted.h > > * Move all tainted-related stuff from kernel/panic.c and > > include/linux/kernel.h there. > > * #include <linux/tainted.h> where needed. > > * Switch #include <linux/kernel.h> to #include <linux/tainted.h> in > > kernel/module.c and mm/page_alloc.c . Said includes were added during > > add_taint() propagation and tainted stuff was in kernel.h back then. > > Why? What reason is there for making these changes?
Most tainted users are in arch/$ARCH/kernel/. The rest including kernel.h don't want tainted stuff. And kernel.h is used often.
- 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/
| |