From: "Jan Beulich" Subject: [PATCH] x86-64 linux: eliminate duplicate exports Date: Thu, 02 Mar 2006 16:28:11 +0100 Message-ID: <44071D1B.76F0.0078.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part3F1A711B.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part3F1A711B.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline As we'e internally building with a tree having some non-mainline kbuild changes, we're seeing warning messages about duplicate exports. Jan --=__Part3F1A711B.0__= Content-Type: text/plain; name="xenlinux-x86_64-duplicate-exports.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="xenlinux-x86_64-duplicate-exports.patch" Index: head-2006-02-23/arch/x86_64/kernel/x8664_ksyms-xen.c =================================================================== --- head-2006-02-23.orig/arch/x86_64/kernel/x8664_ksyms-xen.c 2006-02-24 12:51:26.000000000 +0100 +++ head-2006-02-23/arch/x86_64/kernel/x8664_ksyms-xen.c 2006-03-01 15:34:37.000000000 +0100 @@ -32,8 +32,6 @@ #include #include -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); --=__Part3F1A711B.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part3F1A711B.0__=--