Whamcloud - gitweb
Tweak autogen.sh and Makefiles to be compatible with Automake 1.6.2.
authorgord-fig <gord-fig>
Wed, 17 Jul 2002 13:26:34 +0000 (13:26 +0000)
committergord-fig <gord-fig>
Wed, 17 Jul 2002 13:26:34 +0000 (13:26 +0000)
17 files changed:
lustre/autogen.sh
lustre/extN/Makefile.am
lustre/ldlm/Makefile.am
lustre/llite/Makefile.am
lustre/lov/Makefile.am
lustre/mdc/Makefile.am
lustre/mds/Makefile.am
lustre/obdclass/Makefile.am
lustre/obdecho/Makefile.am
lustre/obdfilter/Makefile.am
lustre/osc/Makefile.am
lustre/ost/Makefile.am
lustre/patches/patch-2.4.18
lustre/patches/patch-2.4.18-um [new file with mode: 0644]
lustre/ptlrpc/Makefile.am
lustre/tests/Makefile.am
lustre/utils/Makefile.am

index 2468998..24dd8bb 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 find . -type d -name .deps | xargs rm -rf
-automake --add-missing &&
 aclocal &&
+automake --add-missing &&
 autoconf 
index c34c1cb..c2592b4 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:=-DEXPORT_SYMTAB
+DEFS=-DEXPORT_SYMTAB
 MODULE = extN
 modulefs_DATA = extN.o
 EXTRA_PROGRAMS = extN
index bfc45d2..606c1dd 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:
+DEFS= 
 MODULE = ldlm
 modulefs_DATA = ldlm.o
 EXTRA_PROGRAMS = ldlm
index 88aa73c..1838bd1 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:
+DEFS= 
 
 MODULE = llite
 modulefs_DATA = llite.o
index 5d24fc4..f45ddd9 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS :=
+DEFS=
 
 MODULE = lov
 modulefs_DATA = lov.o
index b412741..48e416c 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:=
+DEFS=
 
 MODULE = mdc
 modulefs_DATA = mdc.o
index 8d5a486..c3c8c8f 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:
+DEFS= 
 
 MODULE = mds
 modulefs_DATA = mds.o mds_extN.o # mds_ext2.o mds_ext3.o
index 01eed46..b006a08 100644 (file)
@@ -1,4 +1,4 @@
-DEFS:=
+DEFS=
 MODULE = obdclass
 modulefs_DATA = obdclass.o
 EXTRA_PROGRAMS = obdclass
index bd6308f..7f7a4b8 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:
+DEFS= 
 MODULE = obdecho
 modulefs_DATA = obdecho.o
 EXTRA_PROGRAMS = obdecho
index 054cb16..2f545ee 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:
+DEFS= 
 MODULE = obdfilter
 modulefs_DATA = obdfilter.o
 EXTRA_PROGRAMS = obdfilter
index 4fd645b..45253da 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:=
+DEFS=
 
 MODULE = osc
 modulefs_DATA = osc.o
index 507f667..29b0c30 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:
+DEFS= 
 MODULE = ost
 modulefs_DATA = ost.o
 EXTRA_PROGRAMS = ost
index f0ab311..658124b 100644 (file)
  int
  do_check_pgt_cache (int low, int high)
  {
---- lum-pristine/arch/um/kernel/mem.c  Sat Jul 13 13:20:13 2002
-+++ lum/arch/um/kernel/mem.c   Thu Jul  4 10:04:25 2002
-@@ -527,6 +527,22 @@
-       return(phys_mem_map(pte_val(pte)));
- }
-+struct page *check_get_page(unsigned long kaddr)
-+{
-+        struct page *page;
-+        struct mem_region *mr;
-+        unsigned long phys = __pa(kaddr);
-+      unsigned int n = phys_region_index(phys);
-+
-+      if(regions[n] == NULL) 
-+                return NULL; 
-+
-+        mr = regions[n];
-+        page = (struct page *) mr->mem_map;
-+      return page + ((phys_addr(phys)) >> PAGE_SHIFT);
-+}
-+
-+
- struct mem_region *page_region(struct page *page, int *index_out)
- {
-       int i;
-@@ -542,12 +558,14 @@
-                       return(region);
-               }
-       }
--      panic("No region found for page");
-+//panic("No region found for page");
-       return(NULL);
- }
- struct page *page_mem_map(struct page *page)
- {
-+        if (!page_region(page, NULL))
-+            return NULL; 
-       return((struct page *) page_region(page, NULL)->mem_map);
- }
 --- lum-pristine/arch/i386/mm/init.c   Fri Dec 21 10:41:53 2001
 +++ lum/arch/i386/mm/init.c    Thu Jul  4 10:04:25 2002
 @@ -43,6 +43,12 @@
diff --git a/lustre/patches/patch-2.4.18-um b/lustre/patches/patch-2.4.18-um
new file mode 100644 (file)
index 0000000..f229a09
--- /dev/null
@@ -0,0 +1,41 @@
+--- lum-pristine/arch/um/kernel/mem.c  Sat Jul 13 13:20:13 2002
++++ lum/arch/um/kernel/mem.c   Thu Jul  4 10:04:25 2002
+@@ -527,6 +527,22 @@
+       return(phys_mem_map(pte_val(pte)));
+ }
++struct page *check_get_page(unsigned long kaddr)
++{
++        struct page *page;
++        struct mem_region *mr;
++        unsigned long phys = __pa(kaddr);
++      unsigned int n = phys_region_index(phys);
++
++      if(regions[n] == NULL) 
++                return NULL; 
++
++        mr = regions[n];
++        page = (struct page *) mr->mem_map;
++      return page + ((phys_addr(phys)) >> PAGE_SHIFT);
++}
++
++
+ struct mem_region *page_region(struct page *page, int *index_out)
+ {
+       int i;
+@@ -542,12 +558,14 @@
+                       return(region);
+               }
+       }
+-      panic("No region found for page");
++//panic("No region found for page");
+       return(NULL);
+ }
+ struct page *page_mem_map(struct page *page)
+ {
++        if (!page_region(page, NULL))
++            return NULL; 
+       return((struct page *) page_region(page, NULL)->mem_map);
+ }
index e98189e..33a0734 100644 (file)
@@ -3,7 +3,7 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-DEFS:=
+DEFS=
 
 MODULE = ptlrpc
 modulefs_DATA = ptlrpc.o
index 68c2ce8..67b4b41 100644 (file)
@@ -1,5 +1,5 @@
-DEFS:=
-CPPFLAGS := -I. -I$(PORTALS)/include -I$(top_srcdir)/include -D_LARGEFILE64_SOURCE
+DEFS=
+CPPFLAGS = -I. -I$(PORTALS)/include -I$(top_srcdir)/include -D_LARGEFILE64_SOURCE
 CFLAGS := -g -Wall
 # LDADD = -lldap
 # LDADD := -lreadline -ltermcap # -lefence
index 72f91da..3ec0fbc 100644 (file)
@@ -1,9 +1,9 @@
-DEFS:=
+DEFS=
 
 CFLAGS:=-g -I. -I/usr/include/libxml2 -I/usr/include/glib-1.2 -I$(PORTALS)/include \
 -I/usr/lib/glib/include -I$(srcdir)/../include -Wall
 KFLAGS:=
-CPPFLAGS :=
+CPPFLAGS =
 LDADD := -lreadline -lncurses -lxml2 # -lefence
 sbin_PROGRAMS = obdctl lctl 
 obdctl_SOURCES = parser.c obdctl.c parser.h