Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Philippe De Muyter and committed by
Greg Ungerer
eb497e7b 8851338d

+10 -10
+1 -1
arch/m68knommu/kernel/asm-offsets.c
··· 57 57 DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, sr) - 2); 58 58 #else 59 59 /* bitfields are a bit difficult */ 60 - DEFINE(PT_OFF_VECTOR, offsetof(struct pt_regs, pc) + 4); 60 + DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, pc) + 4); 61 61 #endif 62 62 63 63 /* signal defines */
+8 -8
arch/m68knommu/platform/68328/entry.S
··· 133 133 */ 134 134 inthandler1: 135 135 SAVE_ALL 136 - movew %sp@(PT_OFF_VECTOR), %d0 136 + movew %sp@(PT_OFF_FORMATVEC), %d0 137 137 and #0x3ff, %d0 138 138 139 139 movel %sp,%sp@- ··· 144 144 145 145 inthandler2: 146 146 SAVE_ALL 147 - movew %sp@(PT_OFF_VECTOR), %d0 147 + movew %sp@(PT_OFF_FORMATVEC), %d0 148 148 and #0x3ff, %d0 149 149 150 150 movel %sp,%sp@- ··· 155 155 156 156 inthandler3: 157 157 SAVE_ALL 158 - movew %sp@(PT_OFF_VECTOR), %d0 158 + movew %sp@(PT_OFF_FORMATVEC), %d0 159 159 and #0x3ff, %d0 160 160 161 161 movel %sp,%sp@- ··· 166 166 167 167 inthandler4: 168 168 SAVE_ALL 169 - movew %sp@(PT_OFF_VECTOR), %d0 169 + movew %sp@(PT_OFF_FORMATVEC), %d0 170 170 and #0x3ff, %d0 171 171 172 172 movel %sp,%sp@- ··· 177 177 178 178 inthandler5: 179 179 SAVE_ALL 180 - movew %sp@(PT_OFF_VECTOR), %d0 180 + movew %sp@(PT_OFF_FORMATVEC), %d0 181 181 and #0x3ff, %d0 182 182 183 183 movel %sp,%sp@- ··· 188 188 189 189 inthandler6: 190 190 SAVE_ALL 191 - movew %sp@(PT_OFF_VECTOR), %d0 191 + movew %sp@(PT_OFF_FORMATVEC), %d0 192 192 and #0x3ff, %d0 193 193 194 194 movel %sp,%sp@- ··· 199 199 200 200 inthandler7: 201 201 SAVE_ALL 202 - movew %sp@(PT_OFF_VECTOR), %d0 202 + movew %sp@(PT_OFF_FORMATVEC), %d0 203 203 and #0x3ff, %d0 204 204 205 205 movel %sp,%sp@- ··· 210 210 211 211 inthandler: 212 212 SAVE_ALL 213 - movew %sp@(PT_OFF_VECTOR), %d0 213 + movew %sp@(PT_OFF_FORMATVEC), %d0 214 214 and #0x3ff, %d0 215 215 216 216 movel %sp,%sp@-
+1 -1
arch/m68knommu/platform/68360/entry.S
··· 129 129 */ 130 130 inthandler: 131 131 SAVE_ALL 132 - movew %sp@(PT_OFF_VECTOR), %d0 132 + movew %sp@(PT_OFF_FORMATVEC), %d0 133 133 and.l #0x3ff, %d0 134 134 lsr.l #0x02, %d0 135 135