All of lore.kernel.org
 help / color / mirror / Atom feed
* [mmotm][PATCH] fix ia64 build error
@ 2009-01-15 11:05 ` KOSAKI Motohiro
  0 siblings, 0 replies; 27+ messages in thread
From: KOSAKI Motohiro @ 2009-01-15 11:05 UTC (permalink / raw)
  To: LKML, linux-ia64, Sam Ravnborg, Kyle McMartin, Andrew Morton,
	Tony Luck
  Cc: kosaki.motohiro


Applied after: linux-next.patch
=
Subject: [PATCH] remove duplicate EXPORT_SYMBOL()
Impact: fix build error

In past, ia64_ksyms.c had EXPORT_SYMBOL(copy_page) in wrong place.

old code was

	#include <asm/uaccess.h>
	EXPORT_SYMBOL(__copy_user);
	EXPORT_SYMBOL(__do_clear_user);
	EXPORT_SYMBOL(__strlen_user);
	EXPORT_SYMBOL(__strncpy_from_user);
	EXPORT_SYMBOL(__strnlen_user);
	EXPORT_SYMBOL(copy_page);

(but actually, copy_page is declared in asm/page.h)

And recently, commit bdc2619ab95d45d434c16d5c216bc6243761f6fb insert
EXPORT_SYMBOL(copy_page) into correct place.

then, duplicate EXPORT_SYMBOL create following build error.

arch/ia64/kernel/ia64_ksyms.c:65: error: redefinition of '__kcrctab_copy_page'
arch/ia64/kernel/ia64_ksyms.c:43: error: previous definition of '__kcrctab_copy_page' was here
arch/ia64/kernel/ia64_ksyms.c:65: error: redefinition of '__kstrtab_copy_page'
arch/ia64/kernel/ia64_ksyms.c:43: error: previous definition of '__kstrtab_copy_page' was here
arch/ia64/kernel/ia64_ksyms.c:65: error: redefinition of '__ksymtab_copy_page'
arch/ia64/kernel/ia64_ksyms.c:43: error: previous definition of '__ksymtab_copy_page' was here


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Tony Luck <tony.luck@intel.com>
---
 arch/ia64/kernel/ia64_ksyms.c |    1 -
 1 file changed, 1 deletion(-)

Index: b/arch/ia64/kernel/ia64_ksyms.c
=================================--- a/arch/ia64/kernel/ia64_ksyms.c
+++ b/arch/ia64/kernel/ia64_ksyms.c
@@ -40,7 +40,6 @@ EXPORT_SYMBOL(__do_clear_user);
 EXPORT_SYMBOL(__strlen_user);
 EXPORT_SYMBOL(__strncpy_from_user);
 EXPORT_SYMBOL(__strnlen_user);
-EXPORT_SYMBOL(copy_page);
 
 /* from arch/ia64/lib */
 extern void __divsi3(void);



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2009-01-17  5:00 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 11:05 [mmotm][PATCH] fix ia64 build error KOSAKI Motohiro
2009-01-15 11:05 ` KOSAKI Motohiro
2009-01-15 17:35 ` Andrew Morton
2009-01-15 17:35   ` Andrew Morton
2009-01-15 17:52   ` Luck, Tony
2009-01-15 17:52     ` Luck, Tony
2009-01-16  1:49   ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] Stephen Rothwell
2009-01-16  1:49     ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Stephen Rothwell
2009-01-16  1:59     ` linux-next: build problem with nfs tree (Was: Andrew Morton
2009-01-16  1:59       ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Andrew Morton
2009-01-16  2:49       ` linux-next: build problem with nfs tree (Was: Stephen Rothwell
2009-01-16  2:49         ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Stephen Rothwell
2009-01-16  3:41         ` KOSAKI Motohiro
2009-01-16  3:41           ` KOSAKI Motohiro
2009-01-16  4:34         ` linux-next: build problem with nfs tree (Was: Stephen Rothwell
2009-01-16  4:34           ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Stephen Rothwell
2009-01-16 22:15           ` linux-next: build problem with nfs tree (Was: Andrew Morton
2009-01-16 22:15             ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Andrew Morton
2009-01-16 22:40             ` linux-next: build problem with nfs tree (Was: Stephen Rothwell
2009-01-16 22:40               ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Stephen Rothwell
2009-01-16 22:49               ` linux-next: build problem with nfs tree (Was: Stephen Rothwell
2009-01-16 22:49                 ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Stephen Rothwell
2009-01-16 22:51               ` linux-next: build problem with nfs tree (Was: Andrew Morton
2009-01-16 22:51                 ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Andrew Morton
2009-01-17  4:43         ` David Howells
2009-01-17  5:00           ` linux-next: build problem with nfs tree (Was: Stephen Rothwell
2009-01-17  5:00             ` linux-next: build problem with nfs tree (Was: Re: [mmotm][PATCH] fix ia64 build error) Stephen Rothwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.