Lines 67-75
Link Here
|
67 |
* for example for CPU hot-plugging. I wonder why a desktop |
67 |
* for example for CPU hot-plugging. I wonder why a desktop |
68 |
* distribution would even include such a kernel patch. */ |
68 |
* distribution would even include such a kernel patch. */ |
69 |
#ifdef CONFIG_MEM_MIRROR |
69 |
#ifdef CONFIG_MEM_MIRROR |
70 |
/* Prevent linux/config.h from being included again in subsequent |
|
|
71 |
* kernel headers as that would redefine CONFIG_MEM_MIRROR. */ |
72 |
#include <linux/config.h> |
73 |
#warning "Disabling CONFIG_MEM_MIRROR because it does not work with non-GPL modules." |
70 |
#warning "Disabling CONFIG_MEM_MIRROR because it does not work with non-GPL modules." |
74 |
#warning "This will break page tracking when the fglrx kernel module is used." |
71 |
#warning "This will break page tracking when the fglrx kernel module is used." |
75 |
#undef CONFIG_MEM_MIRROR |
72 |
#undef CONFIG_MEM_MIRROR |
Lines 86-92
Link Here
|
86 |
#include <asm/unistd.h> /* for installing the patch wrapper */ |
83 |
#include <asm/unistd.h> /* for installing the patch wrapper */ |
87 |
#include <linux/module.h> |
84 |
#include <linux/module.h> |
88 |
|
85 |
|
89 |
#include <linux/config.h> |
|
|
90 |
#include <linux/kernel.h> |
86 |
#include <linux/kernel.h> |
91 |
#include <linux/fs.h> |
87 |
#include <linux/fs.h> |
92 |
#include <linux/proc_fs.h> |
88 |
#include <linux/proc_fs.h> |