Linux 2.6.39-rc2
[pohmelfs.git] / arch / um / kernel / gmon_syms.c
blob72eccd2a41132daae3d3dd746901f8535913e290
1 /*
2 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 */
6 #include "linux/module.h"
8 extern void __bb_init_func(void *) __attribute__((weak));
9 EXPORT_SYMBOL(__bb_init_func);
12 * This is defined (and referred to in profiling stub code) only by some GCC
13 * versions in libgcov.
15 * Since SuSE backported the fix, we cannot handle it depending on GCC version.
16 * So, unconditionally export it. But also give it a weak declaration, which
17 * will be overridden by any other one.
20 extern void __gcov_init(void *) __attribute__((weak));
21 EXPORT_SYMBOL(__gcov_init);
23 extern void __gcov_merge_add(void *) __attribute__((weak));
24 EXPORT_SYMBOL(__gcov_merge_add);