Subversion Repositories Kolibri OS

Rev

Rev 4103 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3031 serge 1
#ifndef _LINUX_EXPORT_H
2
#define _LINUX_EXPORT_H
3
/*
4
 * Export symbols from the kernel to modules.  Forked from module.h
5
 * to reduce the amount of pointless cruft we feed to gcc when only
6
 * exporting a simple symbol or two.
7
 *
4103 Serge 8
 * Try not to add #includes here.  It slows compilation and makes kernel
9
 * hackers place grumpy comments in header files.
3031 serge 10
 */
6934 serge 11
 
12
/* Some toolchains use a `_' prefix for all user symbols. */
13
#ifdef CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX
14
#define __VMLINUX_SYMBOL(x) _##x
15
#define __VMLINUX_SYMBOL_STR(x) "_" #x
16
#else
17
#define __VMLINUX_SYMBOL(x) x
18
#define __VMLINUX_SYMBOL_STR(x) #x
19
#endif
3031 serge 20
#define EXPORT_SYMBOL(sym)
21
#define EXPORT_SYMBOL_GPL(sym)
22
#define EXPORT_SYMBOL_GPL_FUTURE(sym)
23
#define EXPORT_UNUSED_SYMBOL(sym)
24
#define EXPORT_UNUSED_SYMBOL_GPL(sym)
25
 
26
#define THIS_MODULE ((struct module *)0)
27
 
28
#endif /* _LINUX_EXPORT_H */