diff options
Diffstat (limited to 'arch/linux/sparc')
-rw-r--r-- | arch/linux/sparc/processor.h | 5 | ||||
l--------- | arch/linux/sparc/resources.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/linux/sparc/processor.h b/arch/linux/sparc/processor.h index 04e38c33..0272c963 100644 --- a/arch/linux/sparc/processor.h +++ b/arch/linux/sparc/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,6 +19,7 @@ struct _Processor { gchar *model_name; gchar *has_fpu; + gfloat cpu_mhz; }; static GSList * @@ -48,6 +49,8 @@ __scan_processors(void) fclose(cpuinfo); + processor->cpu_mhz = 0.0f; + return g_slist_append(NULL, processor); } diff --git a/arch/linux/sparc/resources.h b/arch/linux/sparc/resources.h new file mode 120000 index 00000000..20a4815d --- /dev/null +++ b/arch/linux/sparc/resources.h @@ -0,0 +1 @@ +../../../arch/linux/common/resources.h
\ No newline at end of file |