aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/patches/007-export_cvmx_sysinfo.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-06-02 09:18:55 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-06-02 09:18:55 +0000
commitfb4eb1628390b715abcf050c1d8008b9dd1b2e23 (patch)
treebbe270ef7bf7f26a10514e0344a484f6bc9be14b /target/linux/octeon/patches/007-export_cvmx_sysinfo.patch
parentc5d88f6551c47e46be7d4f4bc1eb14978528311f (diff)
downloadupstream-fb4eb1628390b715abcf050c1d8008b9dd1b2e23.tar.gz
upstream-fb4eb1628390b715abcf050c1d8008b9dd1b2e23.tar.bz2
upstream-fb4eb1628390b715abcf050c1d8008b9dd1b2e23.zip
rename cavium-octeon to octeon
SVN-Revision: 16292
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 0000000000..318916d15b
--- /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