1/*
2 * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it would be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 * You should have received a copy of the GNU General Public License along
13 * with this program; if not, write the Free Software Foundation, Inc.,
14 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
15 *
16 */
17/*************************************************************************
18 * Description: This is a kernel loadable module programme used by
19 *		testcases of query_module(2)
20 *************************************************************************/
21
22#define MODULE
23/* #define __KERNEL__    Commented this line out b/c it causes errors with
24 *                       module.h when it calls /usr/include/linux/version.h
25 *                       -12/03/02 Robbie Williamson <robbiew@us.ibm.com>
26 */
27
28#include <asm/atomic.h>
29#include <linux/config.h>
30#include <linux/module.h>
31#include <linux/kernel.h>
32
33void dummy_func_test(void);
34
35/* Initialization routine of module */
36int init_module(void)
37{
38	return 0;
39}
40
41/* Cleanup routine of module */
42void cleanup_module(void)
43{
44	return;
45}
46
47/* Dummy function used by dependent module */
48void dummy_func_test(void)
49{
50	return;
51}
52
53EXPORT_SYMBOL(dummy_func_test);
54