提交 747646a4 编写于 作者: J Jesper Nilsson 提交者: Linus Torvalds

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: NJesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 6d9f4c5c
......@@ -23,13 +23,6 @@
#include <asm/atomic.h>
#include <linux/compiler.h>
/*
* Some hacks to defeat gcc over-optimizations..
*/
struct __dummy { unsigned long a[100]; };
#define ADDR (*(struct __dummy *) addr)
#define CONST_ADDR (*(const struct __dummy *) addr)
/*
* set_bit - Atomically set a bit in memory
* @nr: the bit to set
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册