lkml.org 
[lkml]   [2005]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-09-15 10:13    [W:0.506 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site