From: Yasunori Goto Date: Fri, 22 Dec 2006 09:09:54 +0000 (-0800) Subject: [PATCH] compile error of register_memory() X-Git-Tag: v2.6.20-rc2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c95da9f5abeff865b7273b59e1a3c50a2c5acb2;p=pandora-kernel.git [PATCH] compile error of register_memory() register_memory() becomes double definition in 2.6.20-rc1. It is defined in arch/i386/kernel/setup.c as static definition in 2.6.19. But it is moved to arch/i386/kernel/e820.c in 2.6.20-rc1. And same name function is defined in driver/base/memory.c too. So, it becomes cause of compile error of duplicate definition if memory hotplug option is on. Signed-off-by: Yasunori Goto Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed