Re: [PATCH] oprofile: Thou shalt not call __exit functions from__init functions

From: Robert Richter
Date: Tue Mar 31 2009 - 07:49:58 EST


On 30.03.09 10:47:27, Rusty Russell wrote:
> On Monday 30 March 2009 02:42:22 Russell King wrote:
> > `buffer_sync_cleanup' referenced in section `.init.text' of arch/arm/oprofile/built-in.o: defined in discarded section `.exit.text' of arch/arm/oprofile/built-in.o
> >
> > Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

There is patch 4c50d9ea9ca9e46b65aeffed3e0d6f54ff38c8d4 in
tip/cpus4096 that reworks and fixes this code already. It should go
upstream too.

-Robert

>
> Thanks, I've applied it in case the oprofile people don't get there first.
>
> Cheers,
> Rusty.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@xxxxxxx

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