Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 14:17:42 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202697 - head/sys/mips/mips
Message-ID:  <201001201417.o0KEHgLM025185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: neel
Date: Wed Jan 20 14:17:41 2010
New Revision: 202697
URL: http://svn.freebsd.org/changeset/base/202697

Log:
  Make sure that interrupts are enabled when thread0 is running.
  
  Approved by: imp (mentor)

Modified:
  head/sys/mips/mips/machdep.c

Modified: head/sys/mips/mips/machdep.c
==============================================================================
--- head/sys/mips/mips/machdep.c	Wed Jan 20 13:50:30 2010	(r202696)
+++ head/sys/mips/mips/machdep.c	Wed Jan 20 14:17:41 2010	(r202697)
@@ -351,7 +351,9 @@ mips_vector_init(void)
 	 * Mask all interrupts. Each interrupt will be enabled
 	 * when handler is installed for it
 	 */
-	set_intr_mask (ALL_INT_MASK);
+	set_intr_mask(ALL_INT_MASK);
+	enableintr();
+
 	/* Clear BEV in SR so we start handling our own exceptions */
 	mips_cp0_status_write(mips_cp0_status_read() & ~SR_BOOT_EXC_VEC);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001201417.o0KEHgLM025185>