Re: [PATCH 2/2] oprofile: Add __exit attibute to oprofile_arch_exit() functions

From: Mike Frysinger
Date: Wed Mar 16 2011 - 16:16:16 EST


On Wed, Mar 16, 2011 at 13:58, Robert Richter wrote:
> Â979048e oprofile: don't call arch exit code from init code on failure
>
> we may add __exit attibutes to oprofile_arch_exit() functions.

i dont think this the way to go. how about updating one place
(include/linux/oprofile.h:oprofile_arch_exit) and making sure all arch
files are including that header if they arent already ? after all, if
they arent including that header, the arch code could break without
noticing.
-mike
--
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/