aboutsummaryrefslogtreecommitdiff
path: root/arch/linux/armv4l
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:48 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:48 -0500
commit4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 (patch)
tree614372cf2510ad45311ecea088012683635d0b76 /arch/linux/armv4l
parentee6c3f9b4cf08a276c971dee66e1acdb32b3dff9 (diff)
Import Upstream version 0.5c
Diffstat (limited to 'arch/linux/armv4l')
-rw-r--r--arch/linux/armv4l/processor.h6
l---------arch/linux/armv4l/resources.h1
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/linux/armv4l/processor.h b/arch/linux/armv4l/processor.h
index d66d6f25..82b6be04 100644
--- a/arch/linux/armv4l/processor.h
+++ b/arch/linux/armv4l/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 *flags;
- gfloat bogomips;
+ gfloat bogomips, cpu_mhz;
gchar *has_fpu;
};
@@ -53,6 +53,8 @@ __scan_processors(void)
g_strfreev(tmp);
}
+ processor->cpu_mhz = 0.0f;
+
fclose(cpuinfo);
return g_slist_append(NULL, processor);
diff --git a/arch/linux/armv4l/resources.h b/arch/linux/armv4l/resources.h
new file mode 120000
index 00000000..20a4815d
--- /dev/null
+++ b/arch/linux/armv4l/resources.h
@@ -0,0 +1 @@
+../../../arch/linux/common/resources.h \ No newline at end of file