1/**
2 * @file op_init.c
3 * Initialisation stubs
4 *
5 * @remark Copyright 2002 OProfile authors
6 * @remark Read the file COPYING
7 *
8 * @author John Levon
9 * @author Philippe Elie
10 */
11
12// FIXME: any point in this file now we don't fiddle
13// with -march options ??
14
15#undef __NO_VERSION__
16
17#include "oprofile.h"
18
19EXPORT_NO_SYMBOLS;
20
21int __init stub_init(void)
22{
23	sysctl.cpu_type = get_cpu_type();
24	return oprof_init();
25}
26
27void __exit stub_exit(void)
28{
29	oprof_exit();
30}
31
32module_init(stub_init);
33module_exit(stub_exit);
34