git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
include
/
asm-mips
/
sim.h
diff --git
a/include/asm-mips/sim.h
b/include/asm-mips/sim.h
index
6333169
..
a88c337
100644
(file)
--- a/
include/asm-mips/sim.h
+++ b/
include/asm-mips/sim.h
@@
-13,6
+13,9
@@
#include <asm/offset.h>
#include <asm/offset.h>
+/* Used in declaration of save_static functions. */
+#define static_unused static __attribute__((unused))
+
#define __str2(x) #x
#define __str(x) __str2(x)
#define __str2(x) #x
#define __str(x) __str2(x)
@@
-36,7
+39,6
@@
__asm__ ( \
"sw\t$22,"__str(PT_R22)"($29)\n\t" \
"sw\t$23,"__str(PT_R23)"($29)\n\t" \
"sw\t$30,"__str(PT_R30)"($29)\n\t" \
"sw\t$22,"__str(PT_R22)"($29)\n\t" \
"sw\t$23,"__str(PT_R23)"($29)\n\t" \
"sw\t$30,"__str(PT_R30)"($29)\n\t" \
- "j\t_" #symbol "\n\t" \
".end\t" #symbol "\n\t" \
".size\t" #symbol",. - " #symbol)
".end\t" #symbol "\n\t" \
".size\t" #symbol",. - " #symbol)
@@
-64,7
+66,6
@@
__asm__ ( \
"sd\t$22,"__str(PT_R22)"($29)\n\t" \
"sd\t$23,"__str(PT_R23)"($29)\n\t" \
"sd\t$30,"__str(PT_R30)"($29)\n\t" \
"sd\t$22,"__str(PT_R22)"($29)\n\t" \
"sd\t$23,"__str(PT_R23)"($29)\n\t" \
"sd\t$30,"__str(PT_R30)"($29)\n\t" \
- "j\t_" #symbol "\n\t" \
".end\t" #symbol "\n\t" \
".size\t" #symbol",. - " #symbol)
".end\t" #symbol "\n\t" \
".size\t" #symbol",. - " #symbol)