2002-01-30 23:53:45

by Alessandro Suardi

[permalink] [raw]
Subject: [PATCH] fix 2.5.3 link for modular PPP and UFS (BKL removal)

Alongside with moving zconf.h and zutil.h to include/linux, I
needed to export one more symbol to build modular ppp_deflate.o
and add linux/smp_lock.h to fs/ufs/file.c as follows:

diff -u --recursive --new-file linux/fs/ufs/file.c linux-as/fs/ufs/file.c
--- linux/fs/ufs/file.c Wed Jan 30 22:56:02 2002
+++ linux-as/fs/ufs/file.c Thu Jan 31 00:01:03 2002
@@ -35,6 +35,7 @@
#include <linux/locks.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
+#include <linux/smp_lock.h>

/*
* Make sure the offset never goes beyond the 32-bit mark..
diff -u --recursive --new-file linux/lib/zlib_inflate/inflate_syms.c linux-as/lib/zlib_inflate/inflate_syms.c
--- linux/lib/zlib_inflate/inflate_syms.c Wed Jan 30 22:56:02 2002
+++ linux-as/lib/zlib_inflate/inflate_syms.c Thu Jan 31 00:00:40 2002
@@ -12,6 +12,7 @@

EXPORT_SYMBOL(zlib_inflate_workspacesize);
EXPORT_SYMBOL(zlib_inflate);
+EXPORT_SYMBOL(zlib_inflateIncomp);
EXPORT_SYMBOL(zlib_inflateInit_);
EXPORT_SYMBOL(zlib_inflateInit2_);
EXPORT_SYMBOL(zlib_inflateEnd);

--alessandro

"this machine will, will not communicate
these thoughts and the strain I am under
be a world child, form a circle before we all go under"
(Radiohead, "Street Spirit [fade out]")