diff options
| author | Jake Burkholder <jake@FreeBSD.org> | 2002-02-23 20:54:01 +0000 |
|---|---|---|
| committer | Jake Burkholder <jake@FreeBSD.org> | 2002-02-23 20:54:01 +0000 |
| commit | b7e93803fbee546d97161ae6b05bc6a32053c830 (patch) | |
| tree | c4c2294f36e8e929ec83ba756f84207c80e8ed9d | |
| parent | 919f71f0fcd505164f0451054baab67dbe7d1b7f (diff) | |
Notes
| -rw-r--r-- | sys/sparc64/sparc64/support.S | 6 | ||||
| -rw-r--r-- | sys/sparc64/sparc64/support.s | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/sparc64/sparc64/support.S b/sys/sparc64/sparc64/support.S index a5ffc73ce02c..a878cb68e0d3 100644 --- a/sys/sparc64/sparc64/support.S +++ b/sys/sparc64/sparc64/support.S @@ -213,12 +213,10 @@ #define CATCH_SETUP(label) \ SET(label, %g2, %g1) ; \ - ldx [PCPU(CURTHREAD)], %g6 ; \ - ldx [%g6 + TD_PCB], %g6 ; \ - stx %g1, [%g6 + PCB_ONFAULT] + stx %g1, [PCB_REG + PCB_ONFAULT] #define CATCH_END() \ - stx %g0, [%g6 + PCB_ONFAULT] + stx %g0, [PCB_REG + PCB_ONFAULT] #define FU_ALIGNED(loader, label) \ CATCH_SETUP(label) ; \ diff --git a/sys/sparc64/sparc64/support.s b/sys/sparc64/sparc64/support.s index a5ffc73ce02c..a878cb68e0d3 100644 --- a/sys/sparc64/sparc64/support.s +++ b/sys/sparc64/sparc64/support.s @@ -213,12 +213,10 @@ #define CATCH_SETUP(label) \ SET(label, %g2, %g1) ; \ - ldx [PCPU(CURTHREAD)], %g6 ; \ - ldx [%g6 + TD_PCB], %g6 ; \ - stx %g1, [%g6 + PCB_ONFAULT] + stx %g1, [PCB_REG + PCB_ONFAULT] #define CATCH_END() \ - stx %g0, [%g6 + PCB_ONFAULT] + stx %g0, [PCB_REG + PCB_ONFAULT] #define FU_ALIGNED(loader, label) \ CATCH_SETUP(label) ; \ |
