[PATCH] unify x86/x86-64 semaphore code
authorBenjamin LaHaise <bcrl@kvack.org>
Sat, 3 Sep 2005 22:56:52 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:14 +0000 (00:06 -0700)
commit52fdd08903a1d1162e184114837e232640191627
tree9469f521b7ba12ac48337155bc5a65049d361229
parent4ad8d38342430f8b52f7a8458dce90caf8c8ca64
[PATCH] unify x86/x86-64 semaphore code

This patch moves the common code in x86 and x86-64's semaphore.c into a
single file in lib/semaphore-sleepers.c.  The arch specific asm stubs are
left in the arch tree (in semaphore.c for i386 and in the asm for x86-64).
There should be no changes in code/functionality with this patch.

Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise@intel.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/Kconfig
arch/i386/kernel/semaphore.c
arch/um/Kconfig_i386
arch/um/Kconfig_x86_64
arch/um/sys-x86_64/Makefile
arch/x86_64/Kconfig
arch/x86_64/kernel/Makefile
lib/Makefile
lib/semaphore-sleepers.c [moved from arch/x86_64/kernel/semaphore.c with 94% similarity]