#!/bin/sh
find . -type d -name .deps | xargs rm -rf
-automake --add-missing &&
aclocal &&
+automake --add-missing &&
autoconf
# 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
# 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
# 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
# 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
# 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
# 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
-DEFS:=
+DEFS=
MODULE = obdclass
modulefs_DATA = obdclass.o
EXTRA_PROGRAMS = obdclass
# 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
# 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
# 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
# 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
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 @@
--- /dev/null
+--- 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);
+ }
+
# 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
-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
-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