diff options
author | Carl Smith <carl.smith@alliedtelesis.co.nz> | 2018-07-26 15:45:28 +1200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-07-27 12:04:37 +0000 |
commit | 28d4271d1a9103099e6711fc58f9a479c8722e60 (patch) | |
tree | 40839c9981cbcf4e14585c118955d28993c407f9 /src/vppinfra/longjmp.h | |
parent | fc5dda3d0a96fd9722cdac055dfa4865823d5ebd (diff) |
mips64: Add timer and longjump support
Also correct types.h for mips64 which could never be hit
as _mips was part of the previous ifdef.
Change-Id: Id0435c8fc960c5d25c43129b9d9f1606e39ba8e3
Signed-off-by: Carl Smith <carl.smith@alliedtelesis.co.nz>
Diffstat (limited to 'src/vppinfra/longjmp.h')
-rw-r--r-- | src/vppinfra/longjmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/longjmp.h b/src/vppinfra/longjmp.h index 8d83203e41d..67c650a6174 100644 --- a/src/vppinfra/longjmp.h +++ b/src/vppinfra/longjmp.h @@ -93,6 +93,8 @@ #elif defined(__aarch64__) #define CLIB_ARCH_LONGJMP_REGS (22) +#elif defined(_mips) && __mips == 64 +#define CLIB_ARCH_LONGJMP_REGS (12) #else #error "unknown machine" #endif |