From: Michael Ellerman Date: Tue, 15 Jul 2014 12:22:23 +0000 (+1000) Subject: powerpc: Add machine_early_initcall() X-Git-Tag: v5.15~17463^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d3c941e240ba26cb0eb45edfa938ef75f04945e;p=platform%2Fkernel%2Flinux-starfive.git powerpc: Add machine_early_initcall() Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index f92b0b5..5c7e74d 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -366,6 +366,7 @@ static inline void log_error(char *buf, unsigned int err_type, int fatal) } \ __define_initcall(__machine_initcall_##mach##_##fn, id); +#define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2)