sched/init: Move binfmt_initialize before hardware initialization
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
2ce62bb583
commit
ab872b0199
@ -668,6 +668,12 @@ void nx_start(void)
|
||||
net_initialize();
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BINFMT_DISABLE
|
||||
/* Initialize the binfmt system */
|
||||
|
||||
binfmt_initialize();
|
||||
#endif
|
||||
|
||||
/* Initialize Hardware Facilities *****************************************/
|
||||
|
||||
/* The processor specific details of running the operating system
|
||||
@ -693,12 +699,6 @@ void nx_start(void)
|
||||
|
||||
/* Setup for Multi-Tasking ************************************************/
|
||||
|
||||
#ifndef CONFIG_BINFMT_DISABLE
|
||||
/* Initialize the binfmt system */
|
||||
|
||||
binfmt_initialize();
|
||||
#endif
|
||||
|
||||
/* Announce that the CPU0 IDLE task has started */
|
||||
|
||||
sched_note_start(&g_idletcb[0].cmn);
|
||||
|
Loading…
Reference in New Issue
Block a user