From a0d55b836f36df071e301ede1aa6c94ce2c4fa68 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 15 Aug 2001 19:39:09 +0000 Subject: FreeBSD doesn't use a want_resched variable. Instead, the PS_NEEDRESCHED p_sflag is managed in a MI fashion. --- sys/powerpc/aim/swtch.S | 5 ----- sys/powerpc/powerpc/swtch.S | 5 ----- sys/powerpc/powerpc/swtch.s | 5 ----- 3 files changed, 15 deletions(-) (limited to 'sys/powerpc') diff --git a/sys/powerpc/aim/swtch.S b/sys/powerpc/aim/swtch.S index 34bdb85..35a5ed5 100644 --- a/sys/powerpc/aim/swtch.S +++ b/sys/powerpc/aim/swtch.S @@ -157,11 +157,6 @@ ENTRY(cpu_switch) bl chooseproc 1: - /* just did this resched thing */ - xor 3,3,3 - lis 4,want_resched@ha - stw 3,want_resched@l(4) - /* record new process */ mfsprg 4,0 stw 3,GD_CURPROC(4) diff --git a/sys/powerpc/powerpc/swtch.S b/sys/powerpc/powerpc/swtch.S index 34bdb85..35a5ed5 100644 --- a/sys/powerpc/powerpc/swtch.S +++ b/sys/powerpc/powerpc/swtch.S @@ -157,11 +157,6 @@ ENTRY(cpu_switch) bl chooseproc 1: - /* just did this resched thing */ - xor 3,3,3 - lis 4,want_resched@ha - stw 3,want_resched@l(4) - /* record new process */ mfsprg 4,0 stw 3,GD_CURPROC(4) diff --git a/sys/powerpc/powerpc/swtch.s b/sys/powerpc/powerpc/swtch.s index 34bdb85..35a5ed5 100644 --- a/sys/powerpc/powerpc/swtch.s +++ b/sys/powerpc/powerpc/swtch.s @@ -157,11 +157,6 @@ ENTRY(cpu_switch) bl chooseproc 1: - /* just did this resched thing */ - xor 3,3,3 - lis 4,want_resched@ha - stw 3,want_resched@l(4) - /* record new process */ mfsprg 4,0 stw 3,GD_CURPROC(4) -- cgit v1.1