summaryrefslogtreecommitdiff
path: root/arch/cris
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-02-22 20:45:46 +0100
committerJesper Nilsson <jespern@axis.com>2015-03-25 10:55:28 +0100
commit3c2165f807570c936b8ed6714edff1ef44def50a (patch)
treee11f7474f7c186c5072e7c03057675763e641c29 /arch/cris
parent47a8f6fb349c977ff752f979b159aef96a0bb352 (diff)
downloadlwn-3c2165f807570c936b8ed6714edff1ef44def50a.tar.gz
lwn-3c2165f807570c936b8ed6714edff1ef44def50a.zip
CRISv10: remove redundant macros from system.h
All of these are either unused or already provided by other headers, so they can be removed. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jespern@axis.com>
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/include/arch-v10/arch/system.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/cris/include/arch-v10/arch/system.h b/arch/cris/include/arch-v10/arch/system.h
index 935fde34aa15..9b5580f58b96 100644
--- a/arch/cris/include/arch-v10/arch/system.h
+++ b/arch/cris/include/arch-v10/arch/system.h
@@ -36,12 +36,4 @@ static inline unsigned long _get_base(char * addr)
return 0;
}
-#define nop() __asm__ __volatile__ ("nop");
-
-#define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
-#define tas(ptr) (xchg((ptr),1))
-
-struct __xchg_dummy { unsigned long a[100]; };
-#define __xg(x) ((struct __xchg_dummy *)(x))
-
#endif