summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 13:31:08 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:31:08 +0100
commit62fe164c5b036f4bdb19fbfb8f18a75631e67eee (patch)
tree55d5d350c6557584d24b56a8c23fbb699913dca3
parentd3ca901f94b3299dfe3a814770d751844608419f (diff)
downloadop-kernel-dev-62fe164c5b036f4bdb19fbfb8f18a75631e67eee.zip
op-kernel-dev-62fe164c5b036f4bdb19fbfb8f18a75631e67eee.tar.gz
x86: remove unused macro
Mr. Grep says warn_if_not_ulong() is not used anymore anywhere in the code. So, we remove it. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--include/asm-x86/system_64.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86/system_64.h b/include/asm-x86/system_64.h
index 14ad613..560470e 100644
--- a/include/asm-x86/system_64.h
+++ b/include/asm-x86/system_64.h
@@ -73,8 +73,6 @@
#define read_barrier_depends() do {} while(0)
#define set_mb(var, value) do { (void) xchg(&var, value); } while (0)
-#define warn_if_not_ulong(x) do { unsigned long foo; (void) (&(x) == &foo); } while (0)
-
static inline unsigned long read_cr8(void)
{
unsigned long cr8;
OpenPOWER on IntegriCloud