Lines 23-28
Link Here
|
23 |
|
23 |
|
24 |
// ============================================================ |
24 |
// ============================================================ |
25 |
#include <linux/version.h> |
25 |
#include <linux/version.h> |
|
|
26 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) |
27 |
/* No longer valid */ |
28 |
#define VM_SHM 0 |
29 |
#include <linux/utsrelease.h> |
30 |
#endif |
26 |
#ifdef MODVERSIONS |
31 |
#ifdef MODVERSIONS |
27 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,71) |
32 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,71) |
28 |
#include <linux/modversions.h> |
33 |
#include <linux/modversions.h> |
Lines 86-92
Link Here
|
86 |
#include <asm/unistd.h> /* for installing the patch wrapper */ |
91 |
#include <asm/unistd.h> /* for installing the patch wrapper */ |
87 |
#include <linux/module.h> |
92 |
#include <linux/module.h> |
88 |
|
93 |
|
89 |
#include <linux/config.h> |
|
|
90 |
#include <linux/kernel.h> |
94 |
#include <linux/kernel.h> |
91 |
#include <linux/fs.h> |
95 |
#include <linux/fs.h> |
92 |
#include <linux/proc_fs.h> |
96 |
#include <linux/proc_fs.h> |