projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a8f6f
)
CRISv10: remove redundant macros from system.h
author
Rabin Vincent
<rabin@rab.in>
Sun, 22 Feb 2015 19:45:46 +0000
(20:45 +0100)
committer
Jesper Nilsson
<jespern@axis.com>
Wed, 25 Mar 2015 09:55:28 +0000
(10:55 +0100)
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>
arch/cris/include/arch-v10/arch/system.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/cris/include/arch-v10/arch/system.h
b/arch/cris/include/arch-v10/arch/system.h
index 935fde34aa15782db1fc2dd7c39e4b47c2a96992..9b5580f58b96cb0b7c61d8892673585111dc40e9 100644
(file)
--- 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
This page took
0.025054 seconds
and
5
git commands to generate.