aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:08 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:08 -0500
commit62fe164c5b036f4bdb19fbfb8f18a75631e67eee (patch)
tree55d5d350c6557584d24b56a8c23fbb699913dca3 /include
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')
-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 @@
73#define read_barrier_depends() do {} while(0) 73#define read_barrier_depends() do {} while(0)
74#define set_mb(var, value) do { (void) xchg(&var, value); } while (0) 74#define set_mb(var, value) do { (void) xchg(&var, value); } while (0)
75 75
76#define warn_if_not_ulong(x) do { unsigned long foo; (void) (&(x) == &foo); } while (0)
77
78static inline unsigned long read_cr8(void) 76static inline unsigned long read_cr8(void)
79{ 77{
80 unsigned long cr8; 78 unsigned long cr8;