On Tue, Oct 18, 2005 at 07:11:09PM -0400, Arthur Othieno wrote: > On Fri, Oct 14, 2005 at 01:42:10AM +0100, Ben Dooks wrote: > > init/main.c calls a number of functions externally > > but declaring them locally. This patch creates a > > new header (linux/kernel_init.h) and moves all > > the declarations into it. > > These functions are only referenced in init/main.c, and rightfully so. > In the end, this doesn't change anything much, other than maintainance > overhead for the new include/linux/kernel_init.h > > But, comments within.. > > > Also removes any old init functions now done by > > an initcall() > > (mca|sbus|tc)_init() removal look good. > > > Signed-off-by: Ben Dooks > > > diff -urpN -X ../dontdiff linux-2.6.14-rc4-bjd3b/drivers/acpi/bus.c linux-2.6.14-rc4-bjd3c/drivers/acpi/bus.c > > --- linux-2.6.14-rc4-bjd3b/drivers/acpi/bus.c 2005-10-11 10:56:31.000000000 +0100 > > +++ linux-2.6.14-rc4-bjd3c/drivers/acpi/bus.c 2005-10-14 01:32:27.000000000 +0100 > > @@ -30,6 +30,7 @@ > > #include > > #include > > #include > > +#include I've attached a pair of patches, the first removes the unused functions, and the second moves the init function declarations into include/linux/init.h (and adds the init to include/linux/prio_tree.h) -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes'