Whamcloud - gitweb
- procfs-ndynamic against 2.4 kernels
[fs/lustre-release.git] / lustre / kernel_patches / patches / iod-rmap-exports.patch
index 00eba97..5ba68dd 100644 (file)
@@ -1,6 +1,21 @@
---- linux-chaos/fs/inode.c.b_io_export Wed Jan 29 16:56:15 2003
-+++ linux-chaos/fs/inode.c     Wed Jan 29 16:56:27 2003
-@@ -66,7 +66,8 @@
+ fs/Makefile     |    4 +++-
+ fs/inode.c      |    4 +++-
+ mm/Makefile     |    2 +-
+ mm/page_alloc.c |    1 +
+ mm/vmscan.c     |    3 +++
+ 5 files changed, 11 insertions(+), 3 deletions(-)
+
+--- linux-2.4.18-18/fs/inode.c~iod-rmap-exports        Thu Apr  3 00:40:01 2003
++++ linux-2.4.18-18-braam/fs/inode.c   Thu Apr  3 00:40:01 2003
+@@ -5,6 +5,7 @@
+  */
+ #include <linux/config.h>
++#include <linux/module.h>
+ #include <linux/fs.h>
+ #include <linux/string.h>
+ #include <linux/mm.h>
+@@ -66,7 +67,8 @@ static LIST_HEAD(anon_hash_chain); /* fo
   * NOTE! You also have to own the lock if you change
   * the i_state of an inode while it is in use..
   */
  
  /*
   * Statistics gathering..
---- linux-chaos/fs/Makefile.b_io_export        Wed Jan 29 16:56:45 2003
-+++ linux-chaos/fs/Makefile    Wed Jan 29 16:56:53 2003
-@@ -7,7 +7,7 @@
+--- linux-2.4.18-18/fs/Makefile~iod-rmap-exports       Thu Apr  3 00:40:01 2003
++++ linux-2.4.18-18-braam/fs/Makefile  Thu Apr  3 00:40:29 2003
+@@ -1,3 +1,5 @@
++
++
+ #
+ # Makefile for the Linux filesystems.
+ #
+@@ -7,7 +9,7 @@
  
  O_TARGET := fs.o
  
  mod-subdirs :=        nls
  
  obj-y :=      open.o read_write.o devices.o file_table.o buffer.o \
---- linux-chaos/mm/filemap.c.b_io_export       Wed Jan 29 16:50:39 2003
-+++ linux-chaos/mm/filemap.c   Wed Jan 29 16:51:11 2003
-@@ -65,6 +65,7 @@
-  *                    pagecache_lock
+--- linux-2.4.18-18/mm/vmscan.c~iod-rmap-exports       Thu Apr  3 00:40:01 2003
++++ linux-2.4.18-18-braam/mm/vmscan.c  Thu Apr  3 00:40:01 2003
+@@ -14,6 +14,8 @@
+  *  Multiqueue VM started 5.8.00, Rik van Riel.
   */
- spinlock_cacheline_t pagemap_lru_lock_cacheline = {SPIN_LOCK_UNLOCKED};
-+EXPORT_SYMBOL(pagemap_lru_lock_cacheline);
  
- #define CLUSTER_PAGES         (1 << page_cluster)
- #define CLUSTER_OFFSET(x)     (((x) >> page_cluster) << page_cluster)
---- linux-chaos/mm/vmscan.c.b_io_export        Wed Jan 29 16:51:58 2003
-+++ linux-chaos/mm/vmscan.c    Wed Jan 29 16:55:16 2003
-@@ -839,6 +839,7 @@
++#include <linux/config.h>
++#include <linux/module.h>
+ #include <linux/slab.h>
+ #include <linux/kernel_stat.h>
+ #include <linux/swap.h>
+@@ -837,6 +839,7 @@ void wakeup_kswapd(unsigned int gfp_mask
        set_current_state(TASK_RUNNING);
        remove_wait_queue(&kswapd_done, &wait);
  }
  
  static void wakeup_memwaiters(void)
  {
---- linux-chaos/mm/Makefile.b_io_export        Wed Jan 29 16:52:46 2003
-+++ linux-chaos/mm/Makefile    Wed Jan 29 16:54:23 2003
+--- linux-2.4.18-18/mm/Makefile~iod-rmap-exports       Thu Apr  3 00:40:01 2003
++++ linux-2.4.18-18-braam/mm/Makefile  Thu Apr  3 00:40:01 2003
 @@ -9,7 +9,7 @@
  
  O_TARGET := mm.o
  
 -export-objs := shmem.o filemap.o memory.o page_alloc.o mempool.o
-+export-objs := shmem.o filemap.o memory.o page_alloc.o mempool.o vmscan.c
++export-objs := shmem.o filemap.o memory.o page_alloc.o mempool.o vmscan.o
  
  obj-y  := memory.o mmap.o filemap.o mprotect.o mlock.o mremap.o \
            vmalloc.o slab.o bootmem.o swap.o vmscan.o page_io.o \
---- linux-chaos/mm/page_alloc.c.b_io_export    Wed Jan 29 17:00:32 2003
-+++ linux-chaos/mm/page_alloc.c        Wed Jan 29 17:01:31 2003
-@@ -31,6 +31,7 @@
+--- linux-2.4.18-18/mm/page_alloc.c~iod-rmap-exports   Thu Apr  3 00:40:01 2003
++++ linux-2.4.18-18-braam/mm/page_alloc.c      Thu Apr  3 00:40:01 2003
+@@ -31,6 +31,7 @@ int nr_active_pages;
  int nr_inactive_dirty_pages;
  int nr_inactive_clean_pages;
  pg_data_t *pgdat_list;
@@ -62,3 +82,5 @@
  
  /*
   * The zone_table array is used to look up the address of the
+
+_