X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Focteon%2Fpatches-2.6.30%2F007-export_cvmx_sysinfo.patch;fp=target%2Flinux%2Focteon%2Fpatches-2.6.30%2F007-export_cvmx_sysinfo.patch;h=318916d15b88fefcbb9576c66918db6ba4a58faf;hb=e575c1b6f304f079a69ead855623fac6bb360c21;hp=0000000000000000000000000000000000000000;hpb=1db064a8ffb8eb1a285a38dcc7483d3bbd3348ab;p=openwrt-10.03%2F.git 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 000000000..318916d15 --- /dev/null +++ b/target/linux/octeon/patches-2.6.30/007-export_cvmx_sysinfo.patch @@ -0,0 +1,23 @@ +Signed-off-by: David Daney +--- + 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 + + #include + #include +@@ -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