summaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/patches/007-export_cvmx_sysinfo.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-02 09:18:55 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-02 09:18:55 +0000
commitb6db7329f48efc92b80750e6526e903f7c7c545b (patch)
tree9e8c67b83aca0ea417fb01dee5412333c3a0cb93 /target/linux/octeon/patches/007-export_cvmx_sysinfo.patch
parent62f2fee052489167d8d6ffba7ebe510642397ffa (diff)
rename cavium-octeon to octeon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16292 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/octeon/patches/007-export_cvmx_sysinfo.patch')
-rw-r--r--target/linux/octeon/patches/007-export_cvmx_sysinfo.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/octeon/patches/007-export_cvmx_sysinfo.patch b/target/linux/octeon/patches/007-export_cvmx_sysinfo.patch
new file mode 100644
index 000000000..318916d15
--- /dev/null
+++ b/target/linux/octeon/patches/007-export_cvmx_sysinfo.patch
@@ -0,0 +1,23 @@
+Signed-off-by: David Daney <ddaney@caviumnetworks.com>
+---
+ arch/mips/cavium-octeon/executive/cvmx-sysinfo.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+--- a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
++++ b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
+@@ -29,6 +29,7 @@
+ * This module provides system/board/application information obtained
+ * by the bootloader.
+ */
++#include <linux/module.h>
+
+ #include <asm/octeon/cvmx.h>
+ #include <asm/octeon/cvmx-spinlock.h>
+@@ -69,6 +70,7 @@ struct cvmx_sysinfo *cvmx_sysinfo_get(vo
+ {
+ return &(state.sysinfo);
+ }
++EXPORT_SYMBOL(cvmx_sysinfo_get);
+
+ /**
+ * This function is used in non-simple executive environments (such as