2
0

007-export_cvmx_sysinfo.patch 700 B

1234567891011121314151617181920212223
  1. Signed-off-by: David Daney <[email protected]>
  2. ---
  3. arch/mips/cavium-octeon/executive/cvmx-sysinfo.c | 2 ++
  4. 1 files changed, 2 insertions(+), 0 deletions(-)
  5. --- a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
  6. +++ b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
  7. @@ -29,6 +29,7 @@
  8. * This module provides system/board/application information obtained
  9. * by the bootloader.
  10. */
  11. +#include <linux/module.h>
  12. #include <asm/octeon/cvmx.h>
  13. #include <asm/octeon/cvmx-spinlock.h>
  14. @@ -69,6 +70,7 @@ struct cvmx_sysinfo *cvmx_sysinfo_get(vo
  15. {
  16. return &(state.sysinfo);
  17. }
  18. +EXPORT_SYMBOL(cvmx_sysinfo_get);
  19. /**
  20. * This function is used in non-simple executive environments (such as