diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-05-14 19:54:22 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-05-14 19:54:22 +0000 |
commit | d5917096feb9ef17299adc90d0ba61fe531ea007 (patch) | |
tree | a782fb663fbdf24f5ef1539bcabf65a3c4ca9965 /sys/lib/libkern | |
parent | 94f5c5f3b4032aa9030bf85e8b12faa4afdb5bbb (diff) |
move hppa to __HAVE_CPUINFO
input from miod@, ok kettenis@
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r-- | sys/lib/libkern/arch/hppa/bcopy.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/arch/hppa/bcopy.m4 b/sys/lib/libkern/arch/hppa/bcopy.m4 index 8629af68272..8548813bce5 100644 --- a/sys/lib/libkern/arch/hppa/bcopy.m4 +++ b/sys/lib/libkern/arch/hppa/bcopy.m4 @@ -1,4 +1,4 @@ -define(_rcsid,``$OpenBSD: bcopy.m4,v 1.15 2005/08/01 12:10:26 miod Exp $'')dnl +define(_rcsid,``$OpenBSD: bcopy.m4,v 1.16 2007/05/14 19:54:21 martin Exp $'')dnl dnl dnl dnl This is the source file for bcopy.S, spcopy.S @@ -232,7 +232,11 @@ ifelse(NAME, `spcopy', * assumes that spaces do not clash, otherwise we lose */ .import curproc, data + .import cpu_info_primary, data .import copy_on_fault, code + +#define curproc (cpu_info_primary + CI_CURPROC) + LEAF_ENTRY(spcopy) ldw HPPA_FRAME_ARG(4)(sp), ret0 sub,<> r0, ret0, r0 |