Skip to contentSkip to conversation

x86-64 linux: eliminate duplicate exports

PATCH New Jan Beulich 1 participant 1 message Mar 2, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86-64 linux: eliminate duplicate exports

As we'e internally building with a tree having some non-mainline kbuild changes, we're seeing warning messages about duplicate exports. Jan

arch/x86_64/kernel/x8664_ksyms-xen.c +0 -9
Index: head-2006-02-23/arch/x86_64/kernel/x8664_ksyms-xen.c
===================================================================
@@ -32,8 +32,6 @@
 #include <asm/tlbflush.h>
 #include <asm/kdebug.h>
 
-extern spinlock_t rtc_lock;
-
 #ifdef CONFIG_SMP
 extern void __write_lock_failed(rwlock_t *rw);
 extern void __read_lock_failed(rwlock_t *rw);
@@ -42,9 +40,6 @@ extern void __read_lock_failed(rwlock_t 
 /* platform dependent support */
 EXPORT_SYMBOL(boot_cpu_data);
 //EXPORT_SYMBOL(dump_fpu);
-EXPORT_SYMBOL(__ioremap);
-EXPORT_SYMBOL(ioremap_nocache);
-EXPORT_SYMBOL(iounmap);
 EXPORT_SYMBOL(kernel_thread);
 EXPORT_SYMBOL(pm_idle);
 EXPORT_SYMBOL(pm_power_off);
@@ -102,8 +99,6 @@ EXPORT_SYMBOL(screen_info);
 
 EXPORT_SYMBOL(get_wchan);
 
-EXPORT_SYMBOL(rtc_lock);
-
 #ifdef CONFIG_X86_LOCAL_APIC
 EXPORT_SYMBOL_GPL(set_nmi_callback);
 EXPORT_SYMBOL_GPL(unset_nmi_callback);
@@ -166,7 +159,5 @@ EXPORT_SYMBOL(__supported_pte_mask);
 EXPORT_SYMBOL(flush_tlb_page);
 #endif
 
-EXPORT_SYMBOL(cpu_khz);
-
 EXPORT_SYMBOL(load_gs_index);
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel