6 5 files changed, 11 insertions(+), 3 deletions(-)
8 Index: linux-2.4.21-chaos/fs/inode.c
9 ===================================================================
10 --- linux-2.4.21-chaos.orig/fs/inode.c 2003-12-12 16:18:06.000000000 +0300
11 +++ linux-2.4.21-chaos/fs/inode.c 2003-12-12 16:18:08.000000000 +0300
15 #include <linux/config.h>
16 +#include <linux/module.h>
18 #include <linux/string.h>
21 * NOTE! You also have to own the lock if you change
22 * the i_state of an inode while it is in use..
24 -static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
25 +spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
26 +EXPORT_SYMBOL(inode_lock);
29 * Statistics gathering..
30 Index: linux-2.4.21-chaos/fs/Makefile
31 ===================================================================
32 --- linux-2.4.21-chaos.orig/fs/Makefile 2003-07-15 04:41:00.000000000 +0400
33 +++ linux-2.4.21-chaos/fs/Makefile 2003-12-12 16:18:08.000000000 +0300
38 # Makefile for the Linux filesystems.
44 -export-objs := filesystems.o open.o dcache.o buffer.o dquot.o dcookies.o
45 +export-objs := filesystems.o open.o dcache.o buffer.o dquot.o dcookies.o inode.o
48 obj-y := open.o read_write.o devices.o file_table.o buffer.o \
49 Index: linux-2.4.21-chaos/mm/vmscan.c
50 ===================================================================
51 --- linux-2.4.21-chaos.orig/mm/vmscan.c 2003-12-05 07:55:51.000000000 +0300
52 +++ linux-2.4.21-chaos/mm/vmscan.c 2003-12-12 16:18:08.000000000 +0300
54 * O(1) rmap vm, Arjan van de ven <arjanv@redhat.com>
57 +#include <linux/config.h>
58 +#include <linux/module.h>
59 #include <linux/slab.h>
60 #include <linux/kernel_stat.h>
61 #include <linux/swap.h>
63 set_current_state(TASK_RUNNING);
64 remove_wait_queue(&kswapd_done, &wait);
66 +EXPORT_SYMBOL(wakeup_kswapd);
68 static void wakeup_memwaiters(void)
70 Index: linux-2.4.21-chaos/mm/Makefile
71 ===================================================================
72 --- linux-2.4.21-chaos.orig/mm/Makefile 2003-07-15 04:41:42.000000000 +0400
73 +++ linux-2.4.21-chaos/mm/Makefile 2003-12-12 16:18:08.000000000 +0300
78 -export-objs := shmem.o filemap.o memory.o page_alloc.o mempool.o usercopy.o
79 +export-objs := shmem.o filemap.o memory.o page_alloc.o mempool.o usercopy.o vmscan.o
81 obj-y := memory.o mmap.o filemap.o mprotect.o mlock.o mremap.o \
82 vmalloc.o slab.o bootmem.o swap.o vmscan.o page_io.o \
83 Index: linux-2.4.21-chaos/mm/page_alloc.c
84 ===================================================================
85 --- linux-2.4.21-chaos.orig/mm/page_alloc.c 2003-12-05 07:55:51.000000000 +0300
86 +++ linux-2.4.21-chaos/mm/page_alloc.c 2003-12-12 16:18:08.000000000 +0300
90 pg_data_t *pgdat_list;
91 +EXPORT_SYMBOL(pgdat_list);