mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Large Block Device patch part 5/4
@ 2002-10-03  5:49 peterc
  2002-10-03 12:19 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: peterc @ 2002-10-03  5:49 UTC (permalink / raw)
  To: torvalds, linux-kernel


Yes I forgot something...

Without this patch, trying to use RAID without CONFIG_LBD would fail.


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.677   -> 1.678  
#	     drivers/md/md.c	1.113   -> 1.114  
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/03	peterc@numbat.chubb.wattle.id.au	1.678
# Fix md operation without CONFIG_LBD --- don't try to include __udivdi3 etc.
# --------------------------------------------
#
diff -Nru a/drivers/md/md.c b/drivers/md/md.c
--- a/drivers/md/md.c	Thu Oct  3 15:47:43 2002
+++ b/drivers/md/md.c	Thu Oct  3 15:47:43 2002
@@ -3480,8 +3480,12 @@
 }
 #endif
 
+#ifdef CONFIG_LBD
 extern u64 __udivdi3(u64, u64);
 extern u64 __umoddi3(u64, u64);
+EXPORT_SYMBOL(__udivdi3);
+EXPORT_SYMBOL(__umoddi3);
+#endif
 EXPORT_SYMBOL(md_size);
 EXPORT_SYMBOL(register_md_personality);
 EXPORT_SYMBOL(unregister_md_personality);
@@ -3493,6 +3497,4 @@
 EXPORT_SYMBOL(md_wakeup_thread);
 EXPORT_SYMBOL(md_print_devices);
 EXPORT_SYMBOL(md_interrupt_thread);
-EXPORT_SYMBOL(__udivdi3);
-EXPORT_SYMBOL(__umoddi3);
 MODULE_LICENSE("GPL");

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <453386441@toto.iv>]

end of thread, other threads:[~2002-10-03 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03  5:49 [PATCH] Large Block Device patch part 5/4 peterc
2002-10-03 12:19 ` Russell King
     [not found] <453386441@toto.iv>
2002-10-03 22:44 ` Peter Chubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®