]> git.openfabrics.org - ~emulex/infiniband.git/commit
x86: desc_empty
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:45 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:45 +0000 (13:30 +0100)
commit12c3cbbb7e3218b1c3ed4c97b3496fc3f94ea967
tree055d83cf9cbd608e0ccf3ebe699b4b81e1f824a4
parentdf5d438e33d7fc914ba9b6e0d6b019a8966c5fcc
x86: desc_empty

This replaces the desc_empty macro with an inline.  It now handles
easily any of the four different types used between 32/64 code to
refer to these 8 bytes.  It's identical in both asm-x86/processor_64.h
and asm-x86/processor_32.h, so if these files ever get merged this
function can be in the common code.

This also removes the desc_equal macro because nothing uses it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/processor_32.h
include/asm-x86/processor_64.h