]> err.no Git - linux-2.6/commit
x86: spinlock_32/64 substitute types and instructions
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:30:34 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:34 +0000 (13:30 +0100)
commitcf244e30f5b50763cbe85f7de30923d12999e38d
treeeec188d1e806960981d8c537b698ae20c219afcc
parent3b23ed84ec34f04f54f7d5b1e35f258d64a7a5fb
x86: spinlock_32/64 substitute types and instructions

Use _slock_t for the spinlock data types and replace the instructions
by string defines, which makes the code of 32/64 bit versions more
or less identical.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/spinlock_32.h
include/asm-x86/spinlock_64.h