Lines 30-35
Link Here
|
30 |
#include <asm/processor.h> |
30 |
#include <asm/processor.h> |
31 |
#include <asm/uaccess.h> |
31 |
#include <asm/uaccess.h> |
32 |
#include <asm/io.h> |
32 |
#include <asm/io.h> |
|
|
33 |
#include <linux/sched.h> |
33 |
|
34 |
|
34 |
#include "kqemu-kernel.h" |
35 |
#include "kqemu-kernel.h" |
35 |
|
36 |
|
Lines 66-72
Link Here
|
66 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) |
67 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) |
67 |
module_param(major, int, 0); |
68 |
module_param(major, int, 0); |
68 |
#else |
69 |
#else |
69 |
MODULE_PARM(major,"i"); |
70 |
module_param(major, int, 0); |
70 |
#endif |
71 |
#endif |
71 |
|
72 |
|
72 |
/* Lock the page at virtual address 'user_addr' and return its |
73 |
/* Lock the page at virtual address 'user_addr' and return its |