diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-02-04 10:10:45 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-02-04 10:10:45 +0000 |
commit | 7b56fb6337756ff7cb07dec09420da7026d7d3e3 (patch) | |
tree | d45f59e7512a199eaadbb25303051dbb6f160d23 /target/linux/octeon/patches-2.6.30/007-export_cvmx_sysinfo.patch | |
parent | dc192096e9ac454520fd1aec7ab58a34fa42d02c (diff) | |
download | upstream-7b56fb6337756ff7cb07dec09420da7026d7d3e3.tar.gz upstream-7b56fb6337756ff7cb07dec09420da7026d7d3e3.tar.bz2 upstream-7b56fb6337756ff7cb07dec09420da7026d7d3e3.zip |
move generic config and patches directory to be 2.6.30 specific
SVN-Revision: 19513
Diffstat (limited to 'target/linux/octeon/patches-2.6.30/007-export_cvmx_sysinfo.patch')
-rw-r--r-- | target/linux/octeon/patches-2.6.30/007-export_cvmx_sysinfo.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/octeon/patches-2.6.30/007-export_cvmx_sysinfo.patch b/target/linux/octeon/patches-2.6.30/007-export_cvmx_sysinfo.patch new file mode 100644 index 0000000000..318916d15b --- /dev/null +++ b/target/linux/octeon/patches-2.6.30/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 |