Whamcloud - gitweb
Merge b_md into HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / iod-rmap-exports.patch
1 --- linux-chaos/fs/inode.c.b_io_export  Wed Jan 29 16:56:15 2003
2 +++ linux-chaos/fs/inode.c      Wed Jan 29 16:56:27 2003
3 @@ -66,7 +66,8 @@
4   * NOTE! You also have to own the lock if you change
5   * the i_state of an inode while it is in use..
6   */
7 -static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
8 +spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
9 +EXPORT_SYMBOL(inode_lock);
10  
11  /*
12   * Statistics gathering..
13 --- linux-chaos/fs/Makefile.b_io_export Wed Jan 29 16:56:45 2003
14 +++ linux-chaos/fs/Makefile     Wed Jan 29 16:56:53 2003
15 @@ -7,7 +7,7 @@
16  
17  O_TARGET := fs.o
18  
19 -export-objs := filesystems.o open.o dcache.o buffer.o
20 +export-objs := filesystems.o open.o dcache.o buffer.o inode.o
21  mod-subdirs := nls
22  
23  obj-y :=       open.o read_write.o devices.o file_table.o buffer.o \
24 --- linux-chaos/mm/filemap.c.b_io_export        Wed Jan 29 16:50:39 2003
25 +++ linux-chaos/mm/filemap.c    Wed Jan 29 16:51:11 2003
26 @@ -65,6 +65,7 @@
27   *                     pagecache_lock
28   */
29  spinlock_cacheline_t pagemap_lru_lock_cacheline = {SPIN_LOCK_UNLOCKED};
30 +EXPORT_SYMBOL(pagemap_lru_lock_cacheline);
31  
32  #define CLUSTER_PAGES          (1 << page_cluster)
33  #define CLUSTER_OFFSET(x)      (((x) >> page_cluster) << page_cluster)
34 --- linux-chaos/mm/vmscan.c.b_io_export Wed Jan 29 16:51:58 2003
35 +++ linux-chaos/mm/vmscan.c     Wed Jan 29 16:55:16 2003
36 @@ -839,6 +839,7 @@
37         set_current_state(TASK_RUNNING);
38         remove_wait_queue(&kswapd_done, &wait);
39  }
40 +EXPORT_SYMBOL(wakeup_kswapd);
41  
42  static void wakeup_memwaiters(void)
43  {
44 --- linux-chaos/mm/Makefile.b_io_export Wed Jan 29 16:52:46 2003
45 +++ linux-chaos/mm/Makefile     Wed Jan 29 16:54:23 2003
46 @@ -9,7 +9,7 @@
47  
48  O_TARGET := mm.o
49  
50 -export-objs := shmem.o filemap.o memory.o page_alloc.o mempool.o
51 +export-objs := shmem.o filemap.o memory.o page_alloc.o mempool.o vmscan.c
52  
53  obj-y   := memory.o mmap.o filemap.o mprotect.o mlock.o mremap.o \
54             vmalloc.o slab.o bootmem.o swap.o vmscan.o page_io.o \
55 --- linux-chaos/mm/page_alloc.c.b_io_export     Wed Jan 29 17:00:32 2003
56 +++ linux-chaos/mm/page_alloc.c Wed Jan 29 17:01:31 2003
57 @@ -31,6 +31,7 @@
58  int nr_inactive_dirty_pages;
59  int nr_inactive_clean_pages;
60  pg_data_t *pgdat_list;
61 +EXPORT_SYMBOL(pgdat_list);
62  
63  /*
64   * The zone_table array is used to look up the address of the