mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
MIPS: regdefs.h: Guard all defines with __ASSEMBLY__
Those definitions are only meant to be used in pure assembly code. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
a77dabc8e8
commit
88ca06ec04
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include <asm/sgidefs.h>
|
||||
|
||||
#ifdef __ASSEMBLY__
|
||||
#if _MIPS_SIM == _MIPS_SIM_ABI32
|
||||
|
||||
/*
|
||||
|
|
@ -102,5 +103,6 @@
|
|||
#define ra $31 /* return address */
|
||||
|
||||
#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
#endif /* _ASM_REGDEF_H */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user