aboutsummaryrefslogtreecommitdiff
path: root/arch/linux/alpha/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/linux/alpha/processor.h')
-rw-r--r--arch/linux/alpha/processor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/linux/alpha/processor.h b/arch/linux/alpha/processor.h
index 081a4f7d..1e5b014c 100644
--- a/arch/linux/alpha/processor.h
+++ b/arch/linux/alpha/processor.h
@@ -1,6 +1,6 @@
/*
* HardInfo - Displays System Information
- * Copyright (C) 2003-2006 Leandro A. F. Pereira <leandro@linuxmag.com.br>
+ * Copyright (C) 2003-2006 Leandro A. F. Pereira <leandro@hardinfo.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
struct _Processor {
gchar *model_name;
- gfloat bogomips;
+ gfloat bogomips, cpu_mhz;
gchar *strmodel;
};
@@ -52,6 +52,7 @@ __scan_processors(void)
gchar *tmp = g_strconcat("Alpha ", processor->model_name, NULL);
g_free(processor->model_name);
processor->model_name = tmp;
+ processor->cpu_mhz = 0.0f;
fclose(cpuinfo);