diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-05-06 18:12:49 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-05-06 18:12:49 +0000 |
commit | 70f94ae2ab0e5460b817ad7b670f071d904d8bab (patch) | |
tree | 89145ffa8eb280689e41008eacbd8057e3ac0dc7 /target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch | |
parent | 731a0e4791eafdb464c13b02383fae6711e72813 (diff) | |
download | upstream-70f94ae2ab0e5460b817ad7b670f071d904d8bab.tar.gz upstream-70f94ae2ab0e5460b817ad7b670f071d904d8bab.tar.bz2 upstream-70f94ae2ab0e5460b817ad7b670f071d904d8bab.zip |
add support for the Cavium Octeon SoC, tested on a Mototech evaluation board
SVN-Revision: 15640
Diffstat (limited to 'target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch')
-rw-r--r-- | target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch b/target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch new file mode 100644 index 0000000000..7397def952 --- /dev/null +++ b/target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch @@ -0,0 +1,28 @@ +Signed-off-by: David Daney <ddaney@caviumnetworks.com> +--- + arch/mips/cavium-octeon/executive/cvmx-sysinfo.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c +index 4812370..e583889 100644 +--- 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(void) + { + return &(state.sysinfo); + } ++EXPORT_SYMBOL(cvmx_sysinfo_get); + + /** + * This function is used in non-simple executive environments (such as +-- +1.6.0.6 + |