source: trunk/target/linux/octeon/patches-2.6.30/007-export_cvmx_sysinfo.patch @ 19513

Last change on this file since 19513 was 19513, checked in by florian, 7 years ago

[octeon] move generic config and patches directory to be 2.6.30 specific

File size: 700 bytes
  • arch/mips/cavium-octeon/executive/cvmx-sysinfo.c

    Signed-off-by: David Daney <ddaney@caviumnetworks.com>
    ---
     arch/mips/cavium-octeon/executive/cvmx-sysinfo.c |    2 ++
     1 files changed, 2 insertions(+), 0 deletions(-)
    
    a b  
    2929 * This module provides system/board/application information obtained 
    3030 * by the bootloader. 
    3131 */ 
     32#include <linux/module.h> 
    3233 
    3334#include <asm/octeon/cvmx.h> 
    3435#include <asm/octeon/cvmx-spinlock.h> 
    struct cvmx_sysinfo *cvmx_sysinfo_get(vo 
    6970{ 
    7071        return &(state.sysinfo); 
    7172} 
     73EXPORT_SYMBOL(cvmx_sysinfo_get); 
    7274 
    7375/** 
    7476 * This function is used in non-simple executive environments (such as 
Note: See TracBrowser for help on using the repository browser.