patch-2.1.40 linux/arch/i386/kernel/i386_ksyms.c

Next file: linux/arch/i386/lib/locks.S
Previous file: linux/arch/alpha/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.39/linux/arch/i386/kernel/i386_ksyms.c linux/arch/i386/kernel/i386_ksyms.c
@@ -19,6 +19,11 @@
 extern int dump_fpu(elf_fpregset_t *);
 extern void __lock_kernel(void);
 
+#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
+extern struct drive_info_struct drive_info;
+EXPORT_SYMBOL(drive_info);
+#endif
+
 /* platform dependent support */
 EXPORT_SYMBOL(EISA_bus);
 EXPORT_SYMBOL(MCA_bus);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov