projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0361c
)
Fix strings containing 'v1' defined in preprocessor
author
Piotr Dymacz
<pepe2k@gmail.com>
Tue, 15 Aug 2017 19:55:58 +0000
(21:55 +0200)
committer
Piotr Dymacz
<pepe2k@gmail.com>
Tue, 15 Aug 2017 19:55:58 +0000
(21:55 +0200)
u-boot/include/asm-mips/regdef.h
patch
|
blob
|
history
diff --git
a/u-boot/include/asm-mips/regdef.h
b/u-boot/include/asm-mips/regdef.h
index 691d047b676623058a5b917d6363114afb91d85c..e2297d9de538812be980c5257a72e98e7ace3dec 100644
(file)
--- a/
u-boot/include/asm-mips/regdef.h
+++ b/
u-boot/include/asm-mips/regdef.h
@@
-14,6
+14,7
@@
/*
* Symbolic register names for 32 bit ABI
*/
+#if defined(__ASSEMBLY__)
#define zero $0 /* wired zero */
#define AT $1 /* assembler temp - uppercase because of ".set at" */
#define v0 $2 /* return value */
@@
-48,5
+49,6
@@
#define fp $30 /* frame pointer */
#define s8 $30 /* same like fp! */
#define ra $31 /* return address */
+#endif /* !__ASSEMBLY__ */
#endif /* __ASM_MIPS_REGDEF_H */