m68knommu: rename PT_OFF_VECTOR to PT_OFF_FORMATVEC.
In m68k/m68knommu assembly files, the same value is called sometimes PT_OFF_VECTOR, but more frequently PT_OFF_FORMATVEC. Standardize name to PT_OFF_FORMATVEC. Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
parent
8851338dd0
commit
eb497e7b49
@ -57,7 +57,7 @@ int main(void)
|
||||
DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, sr) - 2);
|
||||
#else
|
||||
/* bitfields are a bit difficult */
|
||||
DEFINE(PT_OFF_VECTOR, offsetof(struct pt_regs, pc) + 4);
|
||||
DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, pc) + 4);
|
||||
#endif
|
||||
|
||||
/* signal defines */
|
||||
|
@ -133,7 +133,7 @@ Lreturn:
|
||||
*/
|
||||
inthandler1:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
@ -144,7 +144,7 @@ inthandler1:
|
||||
|
||||
inthandler2:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
@ -155,7 +155,7 @@ inthandler2:
|
||||
|
||||
inthandler3:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
@ -166,7 +166,7 @@ inthandler3:
|
||||
|
||||
inthandler4:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
@ -177,7 +177,7 @@ inthandler4:
|
||||
|
||||
inthandler5:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
@ -188,7 +188,7 @@ inthandler5:
|
||||
|
||||
inthandler6:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
@ -199,7 +199,7 @@ inthandler6:
|
||||
|
||||
inthandler7:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
@ -210,7 +210,7 @@ inthandler7:
|
||||
|
||||
inthandler:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and #0x3ff, %d0
|
||||
|
||||
movel %sp,%sp@-
|
||||
|
@ -129,7 +129,7 @@ Lreturn:
|
||||
*/
|
||||
inthandler:
|
||||
SAVE_ALL
|
||||
movew %sp@(PT_OFF_VECTOR), %d0
|
||||
movew %sp@(PT_OFF_FORMATVEC), %d0
|
||||
and.l #0x3ff, %d0
|
||||
lsr.l #0x02, %d0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user