[PATCH] move console_loglevel et al to array

From: Randy.Dunlap (rddunlap@osdl.org)
Date: Thu Dec 05 2002 - 23:20:46 EST


Hi,

This patch to 2.5.50 moves console_loglevel and 3 associated
int's to an array. kernel/sysctl.c expects that they live
as a 4-element integer array, and some arch-es need this,
and it's not a good idea to depend on a compiler to keep
the 4 int's together...

Original patch was done several months back, by Dave Hansen IIRC.
It sat in Dave Jones's tree for awhile, but he apparently
dropped it when he dropped the console layer patches.

I took Dave's 2.5.39-dj2 patch, pulled a few pieces from it,
and added a bit to it.

Comments...before pushing it?

Thanks,

-- 
~Randy


- 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/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:25 EST