[patch] 2.3.3 sr_mod unresolved symbol fix

Bradley M Keryan (keryan@andrew.cmu.edu)
Wed, 19 May 1999 01:46:40 -0400 (EDT)


This fixes an unresolved symbol in sr_mod.o

Brad

--- linux/drivers/block/Makefile.old Wed May 19 00:37:46 1999
+++ linux/drivers/block/Makefile Wed May 19 00:38:00 1999
@@ -20,10 +20,10 @@


L_TARGET := block.a
-L_OBJS := genhd.o blkpg.o
+L_OBJS := genhd.o
M_OBJS :=
MOD_LIST_NAME := BLOCK_MODULES
-LX_OBJS := ll_rw_blk.o
+LX_OBJS := ll_rw_blk.o blkpg.o
MX_OBJS :=

ifeq ($(CONFIG_MAC_FLOPPY),y)
--- linux/drivers/block/blkpg.c.old Wed May 19 00:31:07 1999
+++ linux/drivers/block/blkpg.c Wed May 19 00:33:39 1999
@@ -35,6 +35,7 @@
#include <linux/blkpg.h>
#include <linux/genhd.h>
#include <linux/swap.h> /* for is_swap_partition() */
+#include <linux/module.h> /* for EXPORT_SYMBOL */

#include <asm/uaccess.h>

@@ -286,3 +287,4 @@
}
}

+EXPORT_SYMBOL(blk_ioctl);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/