summaryrefslogtreecommitdiff
path: root/include/asm-x86/system_64.h
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 /include/asm-x86/system_64.h
parentd3ca901f94b3299dfe3a814770d751844608419f (diff)
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>
Diffstat (limited to 'include/asm-x86/system_64.h')
-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 14ad6138439b..560470ea27c8 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;