From 3242317effb38d897af902f18852feb55a7ba4a0 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 17 Jun 2018 11:30:25 +0200 Subject: [PATCH] Fix bad copypasta of code from cpuid_x86 --- driver/others/dynamic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/driver/others/dynamic.c b/driver/others/dynamic.c index 306556f55..bacd3b7fa 100644 --- a/driver/others/dynamic.c +++ b/driver/others/dynamic.c @@ -342,16 +342,16 @@ static gotoblas_t *get_coretype(void){ if (model == 6) { // Cannon Lake #ifndef NO_AVX512 - return CPUTYPE_SKYLAKEX; + return &gotoblas_SKYLAKEX; #else if(support_avx()) #ifndef NO_AVX2 - return CPUTYPE_HASWELL; + return &gotoblas_HASWELL; #else - return CPUTYPE_SANDYBRIDGE; + return &gotblas_SANDYBRIDGE; #endif else - return CPUTYPE_NEHALEM; + return &gotoblas_NEHALEM; #endif } return NULL;