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