diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
commit | 2dd254afa61a7c0cc5ae920b463d3d4266852804 (patch) | |
tree | 7adbebef3be24ba910fd83ee1ba09e1577ae21a8 /sys/arch/hppa | |
parent | 4d62e331dcde739b4067d712dd602c0927ce11b3 (diff) |
debranch SMP, have fun
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/genassym.cf | 3 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/locore.S | 4 | ||||
-rw-r--r-- | sys/arch/hppa/include/cpu.h | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/genassym.cf b/sys/arch/hppa/hppa/genassym.cf index ee718b10e25..c9f494d4e20 100644 --- a/sys/arch/hppa/hppa/genassym.cf +++ b/sys/arch/hppa/hppa/genassym.cf @@ -1,4 +1,4 @@ -# $OpenBSD: genassym.cf,v 1.25 2004/06/08 22:00:25 mickey Exp $ +# $OpenBSD: genassym.cf,v 1.26 2004/06/13 21:49:14 niklas Exp $ # # Copyright (c) 1982, 1990, 1993 @@ -142,6 +142,7 @@ member P_MD_FLAGS p_md.md_flags member P_MD_REGS p_md.md_regs export SRUN +export SONPROC struct pcb member pcb_fpregs diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S index 883c4d3eab8..218c95974b2 100644 --- a/sys/arch/hppa/hppa/locore.S +++ b/sys/arch/hppa/hppa/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.133 2004/06/08 22:00:25 mickey Exp $ */ +/* $OpenBSD: locore.S,v 1.134 2004/06/13 21:49:14 niklas Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -2824,6 +2824,8 @@ link_ok copy arg1, t2 kstack_ok #endif + ldi SONPROC, t1 + stb t1, P_STAT(arg1) /* Skip context switch if same process. */ comb,=,n arg1, arg2, switch_return diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h index eff31c9d750..5eb720ab0e9 100644 --- a/sys/arch/hppa/include/cpu.h +++ b/sys/arch/hppa/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.42 2004/04/08 17:10:18 mickey Exp $ */ +/* $OpenBSD: cpu.h,v 1.43 2004/06/13 21:49:14 niklas Exp $ */ /* * Copyright (c) 2000-2004 Michael Shalayeff @@ -124,7 +124,7 @@ extern int cpu_hvers; #define CLKF_SYSCALL(framep) ((framep)->tf_flags & TFF_SYS) #define signotify(p) (setsoftast()) -#define need_resched() (want_resched = 1, setsoftast()) +#define need_resched(ci) (want_resched = 1, setsoftast()) #define need_proftick(p) ((p)->p_flag |= P_OWEUPC, setsoftast()) #ifndef _LOCORE |