projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ca901
)
x86: remove unused macro
author
Glauber de Oliveira Costa
<
[email protected]
>
Wed, 30 Jan 2008 12:31:08 +0000
(13:31 +0100)
committer
Ingo Molnar
<
[email protected]
>
Wed, 30 Jan 2008 12:31:08 +0000
(13:31 +0100)
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 <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
include/asm-x86/system_64.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/system_64.h
b/include/asm-x86/system_64.h
index 14ad6138439b304703fd450d315f2d8d170141b2..560470ea27c8bbf57716a8038e82c8152d65399b 100644
(file)
--- 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;