lkml.org 
[lkml]   [1998]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject2.1.88 patch for ide driver as module
Date
Hi,
The following patch fixes non-exported symbols problem in 2.1.88 for ide
driver to be used as a module. First part of it also fixes (forgotten ?)
incorrect argument type for set_device_ro().

with regards
Andrzej
************************************************************************
--- linux/kernel/ksyms.c.old Thu Feb 5 21:21:15 1998
+++ linux/kernel/ksyms.c Mon Feb 23 20:18:46 1998
@@ -70,7 +70,7 @@
#endif

extern char *get_options(char *str, int *ints);
-extern void set_device_ro(int dev,int flag);
+extern void set_device_ro(kdev_t dev,int flag);
extern struct file_operations * get_blkfops(unsigned int);
extern int blkdev_release(struct inode * inode);
#if !defined(CONFIG_NFSD) && defined(CONFIG_NFSD_MODULE)
@@ -82,6 +82,7 @@
extern int sys_tz;
extern int request_dma(unsigned int dmanr, char * deviceID);
extern void free_dma(unsigned int dmanr);
+extern spinlock_t io_request_lock;

#ifdef MODVERSIONS
const struct module_symbol __export_Using_Versions
@@ -244,6 +245,7 @@
EXPORT_SYMBOL(init_buffer);
EXPORT_SYMBOL(max_sectors);
EXPORT_SYMBOL(max_readahead);
+EXPORT_SYMBOL(io_request_lock);

/* tty routines */
EXPORT_SYMBOL(tty_hangup);
--- linux/drivers/block/ide.c.old Fri Feb 20 21:58:07 1998
+++ linux/drivers/block/ide.c Mon Feb 23 20:32:52 1998
@@ -2826,6 +2826,7 @@
EXPORT_SYMBOL(ide_end_request);
EXPORT_SYMBOL(ide_revalidate_disk);
EXPORT_SYMBOL(ide_cmd);
+EXPORT_SYMBOL(ide_wait_cmd);
EXPORT_SYMBOL(ide_stall_queue);
EXPORT_SYMBOL(ide_add_proc_entries);
EXPORT_SYMBOL(ide_remove_proc_entries);
--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Technical University of Gdansk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [from the cache]
©2003-2011 Jasper Spaans