@@ -813,7 +813,9 @@ static init_fnc_t init_sequence_f[] = {
#endif
setup_mon_len,
setup_fdt,
+#ifdef CONFIG_TRACE
trace_early_init,
+#endif
initf_malloc,
#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
/* TODO: can this go into arch_cpu_init()? */
@@ -89,14 +89,7 @@ int trace_list_calls(void *buff, int buff_size, unsigned int *needed);
*/
void trace_set_enabled(int enabled);
-#ifdef CONFIG_TRACE_EARLY
int trace_early_init(void);
-#else
-static inline int trace_early_init(void)
-{
- return 0;
-}
-#endif
/**
* Init the trace system