mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 02:54:32 +08:00
powerpc: Add machine_early_initcall()
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
9daf112bd4
commit
8d3c941e24
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user