2008-02-05 13:31:14 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
2005-04-17 05:20:36 +07:00
|
|
|
* Licensed under the GPL
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "linux/module.h"
|
|
|
|
|
2006-09-27 15:50:36 +07:00
|
|
|
extern void __bb_init_func(void *) __attribute__((weak));
|
2005-04-17 05:20:36 +07:00
|
|
|
EXPORT_SYMBOL(__bb_init_func);
|
|
|
|
|
2008-02-05 13:31:14 +07:00
|
|
|
/*
|
|
|
|
* This is defined (and referred to in profiling stub code) only by some GCC
|
2005-04-17 05:20:36 +07:00
|
|
|
* versions in libgcov.
|
|
|
|
*
|
|
|
|
* Since SuSE backported the fix, we cannot handle it depending on GCC version.
|
2008-02-05 13:31:14 +07:00
|
|
|
* So, unconditionally export it. But also give it a weak declaration, which
|
|
|
|
* will be overridden by any other one.
|
2005-04-17 05:20:36 +07:00
|
|
|
*/
|
|
|
|
|
|
|
|
extern void __gcov_init(void *) __attribute__((weak));
|
|
|
|
EXPORT_SYMBOL(__gcov_init);
|
|
|
|
|
|
|
|
extern void __gcov_merge_add(void *) __attribute__((weak));
|
|
|
|
EXPORT_SYMBOL(__gcov_merge_add);
|