From: Alexey Dobriyan on
On Thu, Feb 25, 2010 at 11:39:11PM +0800, Dave Young wrote:
> Cleanup kernel.h panic related stuff, move to linux/panic.h
>
> Due to lots of files need it, include them in kernel.h just for convinience
> It can be thought as the first step of further cleanup.

NAK, tainted stuff belongs to separate place.

> --- linux-2.6.orig/include/linux/kernel.h
> +++ linux-2.6/include/linux/kernel.h
> -extern const char *print_tainted(void);
> -extern void add_taint(unsigned flag);
> -extern int test_taint(unsigned flag);
> -extern unsigned long get_taint(void);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Dave Young on
On Fri, Feb 26, 2010 at 2:53 AM, Alexey Dobriyan <adobriyan(a)gmail.com> wrote:
> On Thu, Feb 25, 2010 at 11:39:11PM +0800, Dave Young wrote:
>> Cleanup kernel.h panic related stuff, move to linux/panic.h
>>
>> Due to lots of files need it, include them in kernel.h just for convinience
>> It can be thought as the first step of further cleanup.
>
> NAK, tainted stuff belongs to separate place.

Then where should they go?

>
>> --- linux-2.6.orig/include/linux/kernel.h
>> +++ linux-2.6/include/linux/kernel.h
>> -extern const char *print_tainted(void);
>> -extern void add_taint(unsigned flag);
>> -extern int test_taint(unsigned flag);
>> -extern unsigned long get_taint(void);
>



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