[cavium-octeon] add support for the Cavium Octeon SoC, tested on a Mototech evaluatio...
[openwrt.git] / target / linux / cavium-octeon / patches / 007-export_cvmx_sysinfo.patch
1 Signed-off-by: David Daney <ddaney@caviumnetworks.com>
2 ---
3 arch/mips/cavium-octeon/executive/cvmx-sysinfo.c | 2 ++
4 1 files changed, 2 insertions(+), 0 deletions(-)
5
6 diff --git a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
7 index 4812370..e583889 100644
8 --- a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
9 +++ b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
10 @@ -29,6 +29,7 @@
11 * This module provides system/board/application information obtained
12 * by the bootloader.
13 */
14 +#include <linux/module.h>
15
16 #include <asm/octeon/cvmx.h>
17 #include <asm/octeon/cvmx-spinlock.h>
18 @@ -69,6 +70,7 @@ struct cvmx_sysinfo *cvmx_sysinfo_get(void)
19 {
20 return &(state.sysinfo);
21 }
22 +EXPORT_SYMBOL(cvmx_sysinfo_get);
23
24 /**
25 * This function is used in non-simple executive environments (such as
26 --
27 1.6.0.6
28
This page took 0.04224 seconds and 5 git commands to generate.