aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/cpuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/gplinclude/cpuid.h')
-rw-r--r--com32/gplinclude/cpuid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/gplinclude/cpuid.h b/com32/gplinclude/cpuid.h
index 0b59a08f..f85e6ab3 100644
--- a/com32/gplinclude/cpuid.h
+++ b/com32/gplinclude/cpuid.h
@@ -161,7 +161,6 @@ struct cpuinfo_x86 {
unsigned char x86_clflush_size;
} __attribute__ ((__packed__));
-#endif
struct cpu_model_info {
int vendor;
@@ -171,10 +170,10 @@ struct cpu_model_info {
/* attempt to consolidate cpu attributes */
struct cpu_dev {
- char *c_vendor;
+ const char *c_vendor;
/* some have two possibilities for cpuid string */
- char *c_ident[2];
+ const char *c_ident[2];
struct cpu_model_info c_models[4];
@@ -210,3 +209,4 @@ struct intel_mp_floating {
extern void get_cpu_vendor(struct cpuinfo_x86 *c);
extern void detect_cpu(s_cpu * cpu);
+#endif