diff options
author | imp <imp@FreeBSD.org> | 2013-05-01 06:57:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2013-05-01 06:57:46 +0000 |
commit | 9003746e9a613b1a0ca653027e0f881f52cd7027 (patch) | |
tree | 8a58ef57e9a3b181ef83d5970d68b781e01c10b3 /sys/mips/include/regdef.h | |
parent | 272556ac5338f36ef5b8c69bd5ac3ec763e354fa (diff) | |
download | FreeBSD-src-9003746e9a613b1a0ca653027e0f881f52cd7027.zip FreeBSD-src-9003746e9a613b1a0ca653027e0f881f52cd7027.tar.gz |
Don't include asm.h in non-asm files.
Remove #define to get kludges that asm.h used to define
Move clever macros to access assembler instructions to trap.c
Remove __ASSEMBLER__ ifdefs in regdef.h: they aren't needed anymore.
Diffstat (limited to 'sys/mips/include/regdef.h')
-rw-r--r-- | sys/mips/include/regdef.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/mips/include/regdef.h b/sys/mips/include/regdef.h index 4f1c383..b55db56 100644 --- a/sys/mips/include/regdef.h +++ b/sys/mips/include/regdef.h @@ -41,7 +41,6 @@ #include <machine/cdefs.h> /* for API selection */ -#if defined(__ASSEMBLER__) #define zero $0 /* always zero */ #define AT $at /* assembler temporary */ #define v0 $2 /* return value */ @@ -106,5 +105,4 @@ #define ta3 $15 #endif /* __mips_n32 || __mips_n64 */ -#endif /* __ASSEMBLER__ */ #endif /* _MIPS_REGDEF_H */ |