From 154dbffb39af92e0b869922b286dee063508b5a1 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 6 May 2009 18:12:49 +0000 Subject: [cavium-octeon] add support for the Cavium Octeon SoC, tested on a Mototech evaluation board git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15640 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/007-export_cvmx_sysinfo.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch (limited to 'target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch') 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 000000000..7397def95 --- /dev/null +++ b/target/linux/cavium-octeon/patches/007-export_cvmx_sysinfo.patch @@ -0,0 +1,28 @@ +Signed-off-by: David Daney +--- + 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 + + #include + #include +@@ -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 + -- cgit v1.2.3