source: GPL/trunk/include/linux/module.h@ 280

Last change on this file since 280 was 280, checked in by Brendan Oakley, 18 years ago

Add missing symbol in linux/module.h for ReSync-1.0.1

File size: 1.4 KB
Line 
1/*
2 * Dynamic loading of modules into the kernel.
3 *
4 * Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996
5 */
6
7#ifndef _LINUX_MODULE_H
8#define _LINUX_MODULE_H
9
10/* Poke the use count of a module. */
11
12#define __MOD_DEC_USE_COUNT(mod) \
13 do {} while(0);
14
15#define MOD_INC_USE_COUNT
16#define MOD_DEC_USE_COUNT
17#define MOD_IN_USE
18
19#define EXPORT_NO_SYMBOLS
20
21#define __MODULE_STRING_1(x) #x
22#define __MODULE_STRING(x) __MODULE_STRING_1(x)
23
24/* For documentation purposes only. */
25
26#define MODULE_AUTHOR(name)
27
28#define MODULE_DESCRIPTION(desc)
29
30/* Could potentially be used by kmod... */
31
32#define MODULE_SUPPORTED_DEVICE(dev)
33
34/* Used to verify parameters given to the module. The TYPE arg should
35 be a string in the following format:
36 [min[-max]]{b,h,i,l,s}
37 The MIN and MAX specifiers delimit the length of the array. If MAX
38 is omitted, it defaults to MIN; if both are omitted, the default is 1.
39 The final character is a type specifier:
40 b byte
41 h short
42 i int
43 l long
44 s string
45*/
46
47#ifdef TARGET_OS2
48#define MODULE_PARM(var,type)
49#define MODULE_PARM_DESC(var,desc)
50#define MODULE_LICENSE(a)
51#else
52#define MODULE_PARM(var,type) \
53const char __module_parm_##var[]= \
54"parm_" __MODULE_STRING(var) "=" type
55
56#define MODULE_PARM_DESC(var,desc) \
57const char __module_parm_desc_##var[]= \
58"parm_desc_" __MODULE_STRING(var) "=" desc
59#endif
60
61#endif /* _LINUX_MODULE_H */
Note: See TracBrowser for help on using the repository browser.