diff options
Diffstat (limited to 'arch/linux/s390/processor.h')
-rw-r--r-- | arch/linux/s390/processor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/linux/s390/processor.h b/arch/linux/s390/processor.h index ee72b029..25dab8ca 100644 --- a/arch/linux/s390/processor.h +++ b/arch/linux/s390/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 *vendor_id, *model_name; gint cache_size; - gfloat bogomips; + gfloat bogomips, cpu_mhz; }; static GSList * @@ -48,6 +48,8 @@ __scan_processors(void) } g_strfreev(tmp); } + + processor->cpu_mhz = 0.0f; processor->model_name = g_strconcat("S390 ", processor->vendor_id, NULL); g_free(processor->vendor_id); |