]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit33bcba7fac91fd283699130e3f392aa2052abf1f
tree9469f521b7ba12ac48337155bc5a65049d361229
parent885301342d5636406a38f626a78d2a95c865ef31
[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
arch/x86_64/kernel/semaphore.c [deleted file]
lib/Makefile
lib/semaphore-sleepers.c [new file with mode: 0644]