From 5f7d2c9e8ba2a488294c7aa25d3cd0ee11fd5482 Mon Sep 17 00:00:00 2001 From: julian Date: Sun, 25 Feb 2001 04:56:23 +0000 Subject: [PATCH] Move netgraph spimlock order entries out of the #ifdef SMP section. They need to be there for UP too. --- sys/kern/kern_mutex.c | 4 ++-- sys/kern/subr_turnstile.c | 4 ++-- sys/kern/subr_witness.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 4f824701788..e378bed7782 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -941,13 +941,13 @@ static char *spin_order_list[] = { /* * leaf locks */ + "ng_node", + "ng_worklist", #ifdef SMP #ifdef __i386__ "ap boot", "imen", #endif - "ng_node", - "ng_worklist", "smp rendezvous", #endif NULL diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c index 4f824701788..e378bed7782 100644 --- a/sys/kern/subr_turnstile.c +++ b/sys/kern/subr_turnstile.c @@ -941,13 +941,13 @@ static char *spin_order_list[] = { /* * leaf locks */ + "ng_node", + "ng_worklist", #ifdef SMP #ifdef __i386__ "ap boot", "imen", #endif - "ng_node", - "ng_worklist", "smp rendezvous", #endif NULL diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index 4f824701788..e378bed7782 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -941,13 +941,13 @@ static char *spin_order_list[] = { /* * leaf locks */ + "ng_node", + "ng_worklist", #ifdef SMP #ifdef __i386__ "ap boot", "imen", #endif - "ng_node", - "ng_worklist", "smp rendezvous", #endif NULL -- 2.45.2