Rusty Russell d453cded05 module_arch_freeing_init(): new hook for archs before module->module_init freed.
Archs have been abusing module_free() to clean up their arch-specific
allocations.  Since module_free() is also (ab)used by BPF and trace code,
let's keep it to simple allocations, and provide a hook called before
that.

This means that avr32, ia64, parisc and s390 no longer need to implement
their own module_free() at all.  avr32 doesn't need module_finalize()
either.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-ia64@vger.kernel.org
Cc: linux-parisc@vger.kernel.org
Cc: linux-s390@vger.kernel.org
2015-01-20 11:38:32 +10:30
..
2010-02-08 10:42:17 -08:00
2014-10-09 13:36:10 -07:00
2013-03-19 16:14:52 -07:00
2010-03-03 11:25:59 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2014-05-16 14:05:22 +02:00
2014-08-26 13:45:52 -04:00
2014-08-26 13:45:52 -04:00
2014-08-26 13:45:52 -04:00
2012-03-28 18:30:02 +01:00
2013-03-19 16:14:53 -07:00
2014-08-26 13:45:52 -04:00
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2014-08-26 13:45:52 -04:00
2014-08-26 13:45:52 -04:00
2010-05-18 14:45:54 -07:00
2012-03-28 18:30:02 +01:00