]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/um/kernel/gmon_syms.c
uml: style fixes in arch/um/kernel
[mirror_ubuntu-zesty-kernel.git] / arch / um / kernel / gmon_syms.c
CommitLineData
c5d4bb17
JD
1/*
2 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
1da177e4
LT
3 * Licensed under the GPL
4 */
5
6#include "linux/module.h"
7
09b185a3 8extern void __bb_init_func(void *) __attribute__((weak));
1da177e4
LT
9EXPORT_SYMBOL(__bb_init_func);
10
c5d4bb17
JD
11/*
12 * This is defined (and referred to in profiling stub code) only by some GCC
1da177e4
LT
13 * versions in libgcov.
14 *
15 * Since SuSE backported the fix, we cannot handle it depending on GCC version.
c5d4bb17
JD
16 * So, unconditionally export it. But also give it a weak declaration, which
17 * will be overridden by any other one.
1da177e4
LT
18 */
19
20extern void __gcov_init(void *) __attribute__((weak));
21EXPORT_SYMBOL(__gcov_init);
22
23extern void __gcov_merge_add(void *) __attribute__((weak));
24EXPORT_SYMBOL(__gcov_merge_add);