mirror of https://gitee.com/openkylin/linux.git
MIPS: Export cvmx_sysinfo_get needed by octeon-ethernet driver.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
6fa044ab8a
commit
3e903bd9b1
|
@ -29,6 +29,7 @@
|
|||
* This module provides system/board/application information obtained
|
||||
* by the bootloader.
|
||||
*/
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <asm/octeon/cvmx.h>
|
||||
#include <asm/octeon/cvmx-spinlock.h>
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue