gmon_syms.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #include "linux/module.h"
  6. extern void __bb_init_func(void *);
  7. EXPORT_SYMBOL(__bb_init_func);
  8. /* This is defined (and referred to in profiling stub code) only by some GCC
  9. * versions in libgcov.
  10. *
  11. * Since SuSE backported the fix, we cannot handle it depending on GCC version.
  12. * So, unconditinally export it. But also give it a weak declaration, which will
  13. * be overriden by any other one.
  14. */
  15. extern void __gcov_init(void *) __attribute__((weak));
  16. EXPORT_SYMBOL(__gcov_init);
  17. extern void __gcov_merge_add(void *) __attribute__((weak));
  18. EXPORT_SYMBOL(__gcov_merge_add);
  19. /*
  20. * Overrides for Emacs so that we follow Linus's tabbing style.
  21. * Emacs will notice this stuff at the end of the file and automatically
  22. * adjust the settings for this buffer only. This must remain at the end
  23. * of the file.
  24. * ---------------------------------------------------------------------------
  25. * Local variables:
  26. * c-file-style: "linux"
  27. * End:
  28. */