diff options
author | kensmith <kensmith@FreeBSD.org> | 2004-01-27 15:02:18 +0000 |
---|---|---|
committer | kensmith <kensmith@FreeBSD.org> | 2004-01-27 15:02:18 +0000 |
commit | 49ae97d67445a766035a5b74d754648a099339c9 (patch) | |
tree | 339f6102a580887cefa14473f5af78471ea88841 | |
parent | 8efc534d9454d18d3f1c7b04493c2c5cd5d81270 (diff) | |
download | FreeBSD-src-49ae97d67445a766035a5b74d754648a099339c9.zip FreeBSD-src-49ae97d67445a766035a5b74d754648a099339c9.tar.gz |
- Fix for sparc64 to use new __panic() function
Adapted from patch by: David Cornejo <dcornejo@firetide.com>
Reviewed by: freebsd-sparc64 (harti)
Approved by: rwatson (mentor)
-rw-r--r-- | sys/sparc64/include/asmacros.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sparc64/include/asmacros.h b/sys/sparc64/include/asmacros.h index a0e317b..9337983 100644 --- a/sys/sparc64/include/asmacros.h +++ b/sys/sparc64/include/asmacros.h @@ -101,8 +101,10 @@ .sect .rodata ; \ 9: .asciz msg ; \ .previous ; \ - SET(9b, r1, %o0) ; \ - call panic ; \ + SET(9b, r1, %o2) ; \ + clr %o1 ; \ + clr %o0 ; \ + call __panic ; \ nop #ifdef INVARIANTS |