diff options
author | grehan <grehan@FreeBSD.org> | 2003-02-26 14:41:39 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2003-02-26 14:41:39 +0000 |
commit | 0b19632a933626af639fb5db084a09b340de99b9 (patch) | |
tree | 967358ba9a6dfb8a79d3404ecb5089f6234a8623 /sys/powerpc | |
parent | 06a137fb233d32ee4886afd7e3a5eb9d0557609b (diff) | |
download | FreeBSD-src-0b19632a933626af639fb5db084a09b340de99b9.zip FreeBSD-src-0b19632a933626af639fb5db084a09b340de99b9.tar.gz |
Register typo and incorrect 32-bit constant load in previous commit.
Resulted in AST delivery not working.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/trap_subr.S | 4 | ||||
-rw-r--r-- | sys/powerpc/powerpc/trap_subr.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/powerpc/aim/trap_subr.S b/sys/powerpc/aim/trap_subr.S index 878f6f4..624272f 100644 --- a/sys/powerpc/aim/trap_subr.S +++ b/sys/powerpc/aim/trap_subr.S @@ -690,9 +690,9 @@ CNAME(trapexit): mfsprg 3, 0 /* get per-CPU pointer */ lwz 4, PC_CURTHREAD(3) /* deref to get curthread */ - lwz 4, TD_FLAGS(3) /* get thread flags value */ + lwz 4, TD_FLAGS(4) /* get thread flags value */ lis 5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@h - oris 5,5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@l + ori 5,5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@l and. 4,4,5 beq 1f mfmsr 3 /* re-enable interrupts */ diff --git a/sys/powerpc/powerpc/trap_subr.S b/sys/powerpc/powerpc/trap_subr.S index 878f6f4..624272f 100644 --- a/sys/powerpc/powerpc/trap_subr.S +++ b/sys/powerpc/powerpc/trap_subr.S @@ -690,9 +690,9 @@ CNAME(trapexit): mfsprg 3, 0 /* get per-CPU pointer */ lwz 4, PC_CURTHREAD(3) /* deref to get curthread */ - lwz 4, TD_FLAGS(3) /* get thread flags value */ + lwz 4, TD_FLAGS(4) /* get thread flags value */ lis 5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@h - oris 5,5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@l + ori 5,5, (TDF_ASTPENDING|TDF_NEEDRESCHED)@l and. 4,4,5 beq 1f mfmsr 3 /* re-enable interrupts */ |