common: use REG_SZ, not SZ_REG in line with mips64 port for REG_OFFSET macro
parent
8631580fbb
commit
d8cfe83e34
|
@ -33,6 +33,6 @@ __proc: \
|
||||||
.weak __alias; \
|
.weak __alias; \
|
||||||
__alias = __real;
|
__alias = __real;
|
||||||
|
|
||||||
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * SZ_REG))
|
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * REG_SZ))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#define MCONTEXT_GREGS (40)
|
#define MCONTEXT_GREGS (40)
|
||||||
|
|
||||||
#define SZ_REG (8)
|
#define REG_SZ (8)
|
||||||
|
|
||||||
#include "common-defs.h"
|
#include "common-defs.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue