fixes by Steven N. Hirsch (versioned symbols, module license)

This commit is contained in:
cebix 2002-07-23 18:02:47 +00:00
parent 281460fba0
commit 586d299bfc

View File

@ -18,6 +18,26 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __KERNEL__
#define __KERNEL__
#endif
#ifndef MODULE
#define MODULE
#endif
/* determine whether to use checksummed versions of kernel symbols */
#include <linux/config.h>
#ifdef CONFIG_MODVERSIONS
#define MODVERSIONS
#include <linux/modversions.h>
#endif
/* modversions.h redefines kernel symbols. Now include other headers */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/version.h>
@ -626,3 +646,5 @@ drop:
kfree_skb(skb);
return 0;
}
MODULE_LICENSE("GPL");