aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-cris/bitops.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-02-05 01:30:33 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:24 -0500
commit747646a4d9d9ddfc7952f8c6d25ea1f323e689a0 (patch)
treeb4b1aca1ed123361b35beb5d76a94009d580cbb6 /include/asm-cris/bitops.h
parent6d9f4c5cfb6084c16a800e8a2ca9db8d0859611c (diff)
cris: remove unused __dummy, CONST_ADDR and ADDR from bitops.h
This is very old code, it hasn't changed since 2001 and it is not used anywhere. Noticed by Clemens Koller. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-cris/bitops.h')
-rw-r--r--include/asm-cris/bitops.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-cris/bitops.h b/include/asm-cris/bitops.h
index e2f49c27ed29..75ea6e096483 100644
--- a/include/asm-cris/bitops.h
+++ b/include/asm-cris/bitops.h
@@ -24,13 +24,6 @@
24#include <linux/compiler.h> 24#include <linux/compiler.h>
25 25
26/* 26/*
27 * Some hacks to defeat gcc over-optimizations..
28 */
29struct __dummy { unsigned long a[100]; };
30#define ADDR (*(struct __dummy *) addr)
31#define CONST_ADDR (*(const struct __dummy *) addr)
32
33/*
34 * set_bit - Atomically set a bit in memory 27 * set_bit - Atomically set a bit in memory
35 * @nr: the bit to set 28 * @nr: the bit to set
36 * @addr: the address to start counting from 29 * @addr: the address to start counting from