From: Borislav Petkov on 2 Oct 2009 09:30 From 52cc05f71bac10dff8a3aacf1cad16a0bf6c375b Mon Sep 17 00:00:00 2001 From: Borislav Petkov <borislav.petkov(a)amd.com> Date: Thu, 1 Oct 2009 18:52:45 +0200 Subject: [PATCH 2/3] initcalls: add early_initcall for modules Signed-off-by: Borislav Petkov <borislav.petkov(a)amd.com> --- include/linux/init.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/init.h b/include/linux/init.h index 400adbb..ff8bde5 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -271,6 +271,7 @@ void __init parse_early_options(char *cmdline); #else /* MODULE */ /* Don't use these in modules, but some people do... */ +#define early_initcall(fn) module_init(fn) #define core_initcall(fn) module_init(fn) #define postcore_initcall(fn) module_init(fn) #define arch_initcall(fn) module_init(fn) -- 1.6.4.3 -- Regards/Gruss, Boris. Operating | Advanced Micro Devices GmbH System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. M�nchen, Germany Research | Gesch�ftsf�hrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis M�nchen (OSRC) | Registergericht M�nchen, HRB Nr. 43632 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: LIS3LV02D: I2C support Next: Il primo portale VISUALE per Annunci Immobiliari in Italia |