Re: [PATCH] Separate tainted code from panic code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 13, 2005 at 05:28:16PM -0700, Andrew Morton wrote:
> Alexey Dobriyan <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux