diff options
Diffstat (limited to 'arch/linux/ia64')
-rw-r--r-- | arch/linux/ia64/processor.h | 6 | ||||
l--------- | arch/linux/ia64/resources.h | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/linux/ia64/processor.h b/arch/linux/ia64/processor.h index bc1d7f08..d3d41519 100644 --- a/arch/linux/ia64/processor.h +++ b/arch/linux/ia64/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 @@ -19,7 +19,7 @@ struct _Processor { gchar *model_name; gchar *vendor_id; - gfloat bogomips; + gfloat bogomips, cpu_mhz; gchar *strmodel; }; @@ -50,6 +50,8 @@ __scan_processors(void) } g_strfreev(tmp); } + + processor->cpu_mhz = 0.0f; fclose(cpuinfo); diff --git a/arch/linux/ia64/resources.h b/arch/linux/ia64/resources.h new file mode 120000 index 00000000..20a4815d --- /dev/null +++ b/arch/linux/ia64/resources.h @@ -0,0 +1 @@ +../../../arch/linux/common/resources.h
\ No newline at end of file |