mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-27 07:30:12 +00:00
fixes by Steven N. Hirsch (versioned symbols, module license)
This commit is contained in:
parent
281460fba0
commit
586d299bfc
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user