[backfire] cleanup: remove unsupported "cobalt" target
[openwrt-10.03/.git] / target / linux / octeon / patches-2.6.30 / 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 --- a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
7 +++ b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
8 @@ -29,6 +29,7 @@
9   * This module provides system/board/application information obtained
10   * by the bootloader.
11   */
12 +#include <linux/module.h>
13  
14  #include <asm/octeon/cvmx.h>
15  #include <asm/octeon/cvmx-spinlock.h>
16 @@ -69,6 +70,7 @@ struct cvmx_sysinfo *cvmx_sysinfo_get(vo
17  {
18         return &(state.sysinfo);
19  }
20 +EXPORT_SYMBOL(cvmx_sysinfo_get);
21  
22  /**
23   * This function is used in non-simple executive environments (such as