diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index a195fcfb680b..c987bd19ccec 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -1343,7 +1343,7 @@ print_transmeta_info() #include #include -u_char *elan_mmcr; +uint16_t *elan_mmcr; void init_AMD_Elan_sc520(void) diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h index e75994e5d783..f3c4612b1785 100644 --- a/sys/amd64/include/md_var.h +++ b/sys/amd64/include/md_var.h @@ -48,7 +48,7 @@ extern u_int cpu_id; extern u_int cpu_fxsr; extern char cpu_vendor[]; extern u_int cyrix_did; -extern u_char *elan_mmcr; +extern uint16_t *elan_mmcr; extern char kstack[]; #ifdef PC98 extern int need_pre_dma_flush; diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index a195fcfb680b..c987bd19ccec 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -1343,7 +1343,7 @@ print_transmeta_info() #include #include -u_char *elan_mmcr; +uint16_t *elan_mmcr; void init_AMD_Elan_sc520(void) diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h index e75994e5d783..f3c4612b1785 100644 --- a/sys/i386/include/md_var.h +++ b/sys/i386/include/md_var.h @@ -48,7 +48,7 @@ extern u_int cpu_id; extern u_int cpu_fxsr; extern char cpu_vendor[]; extern u_int cyrix_did; -extern u_char *elan_mmcr; +extern uint16_t *elan_mmcr; extern char kstack[]; #ifdef PC98 extern int need_pre_dma_flush;