summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/core/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/core/cpu.c')
-rw-r--r--src/arch/i386/core/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/i386/core/cpu.c b/src/arch/i386/core/cpu.c
index 8a0f7333..7b2533f4 100644
--- a/src/arch/i386/core/cpu.c
+++ b/src/arch/i386/core/cpu.c
@@ -2,6 +2,7 @@
#include "stdint.h"
#include "string.h"
#include "bits/cpu.h"
+#include "init.h"
/* Standard macro to see if a specific flag is changeable */
@@ -83,4 +84,7 @@ void cpu_setup(void)
{
identify_cpu(&cpu_info);
}
+
+INIT_FN ( INIT_CPU, cpu_setup, NULL, NULL );
+
#endif /* CONFIG_X86_64 */