[PATCH] fix 2.5.3 link for modular PPP and UFS (BKL removal)

Alessandro Suardi (alessandro.suardi@oracle.com)
Thu, 31 Jan 2002 00:54:35 +0100


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]")
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/