PERFORCE change 97786 for review

John Birrell jb at FreeBSD.org
Thu May 25 01:56:34 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=97786

Change 97786 by jb at jb_freebsd2 on 2006/05/25 01:55:09

	My lockup isn't due to disabling interrupts here. It's somewhere else.

Affected files ...

.. //depot/projects/dtrace/src/sys/cddl/i386/cyclic_machdep.c#6 edit

Differences ...

==== //depot/projects/dtrace/src/sys/cddl/i386/cyclic_machdep.c#6 (text+ko) ====

@@ -188,11 +188,12 @@
 
 static cyc_cookie_t set_level(cyb_arg_t arg, cyc_level_t level)
 {
-	return (0);
+	return (intr_disable());
 }
 
 static void restore_level(cyb_arg_t arg, cyc_cookie_t cookie)
 {
+	intr_restore(cookie);
 }
 
 static void xcall(cyb_arg_t arg, cpu_t *c, cyc_func_t func, void *param)


More information about the p4-projects mailing list