Commit d6b4ef83 authored by Andrew Morton's avatar Andrew Morton Committed by Patrick Mochel

[PATCH] 64-bit sector_t - md fixes

From Peter Chubb

(Yes I forgot something...  Without this patch, trying to use RAID
without CONFIG_LBD would fail.)

Fix md operation without CONFIG_LBD --- don't try to include __udivdi3
etc.
parent 763fb9a3
...@@ -3479,8 +3479,12 @@ void cleanup_module(void) ...@@ -3479,8 +3479,12 @@ void cleanup_module(void)
} }
#endif #endif
#ifdef CONFIG_LBD
extern u64 __udivdi3(u64, u64); extern u64 __udivdi3(u64, u64);
extern u64 __umoddi3(u64, u64); extern u64 __umoddi3(u64, u64);
EXPORT_SYMBOL(__udivdi3);
EXPORT_SYMBOL(__umoddi3);
#endif
EXPORT_SYMBOL(md_size); EXPORT_SYMBOL(md_size);
EXPORT_SYMBOL(register_md_personality); EXPORT_SYMBOL(register_md_personality);
EXPORT_SYMBOL(unregister_md_personality); EXPORT_SYMBOL(unregister_md_personality);
...@@ -3492,6 +3496,4 @@ EXPORT_SYMBOL(md_unregister_thread); ...@@ -3492,6 +3496,4 @@ EXPORT_SYMBOL(md_unregister_thread);
EXPORT_SYMBOL(md_wakeup_thread); EXPORT_SYMBOL(md_wakeup_thread);
EXPORT_SYMBOL(md_print_devices); EXPORT_SYMBOL(md_print_devices);
EXPORT_SYMBOL(md_interrupt_thread); EXPORT_SYMBOL(md_interrupt_thread);
EXPORT_SYMBOL(__udivdi3);
EXPORT_SYMBOL(__umoddi3);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment