summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-05-03 05:42:03 +0000
committerscottl <scottl@FreeBSD.org>2005-05-03 05:42:03 +0000
commit8643f7775a81469779efcbd3306fc2651aadee29 (patch)
tree3df9be62b8e63ed686b885ef0ece91f310ba5d95
parent022ad7817e2cd7673e4690d2b29bbc2a2601f2fe (diff)
downloadFreeBSD-src-8643f7775a81469779efcbd3306fc2651aadee29.zip
FreeBSD-src-8643f7775a81469779efcbd3306fc2651aadee29.tar.gz
The kthread is disabled at this time, so don't try to wake it up on
shutdown. This fixes a panic on reboot. MFC After: 3 days
-rw-r--r--sys/dev/arcmsr/arcmsr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/arcmsr/arcmsr.c b/sys/dev/arcmsr/arcmsr.c
index dffe02e..c180fd5 100644
--- a/sys/dev/arcmsr/arcmsr.c
+++ b/sys/dev/arcmsr/arcmsr.c
@@ -2594,8 +2594,10 @@ static VOID arcmsr_shutdown(device_t dev)
}
}
splx(s);
+#if 0
pACB->acb_flags |= ACB_F_STOP_THREAD;
wakeup(pACB->kthread_proc);/* signal to kernel thread do_dpcQ: "stop thread" */
+#endif
return;
}
/*
OpenPOWER on IntegriCloud