Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 11:41:56 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 trap.c
Message-ID:  <200009121841.LAA30384@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2000/09/12 11:41:56 PDT

  Modified files:
    sys/i386/i386        trap.c 
  Log:
  Quick fix for hang on booting with -d.  mtx_enter() was called before
  curproc was initialized.  curproc == NULL was interpreted as matching
  the process holding Giant...  Just skip mtx_enter() and mtx_exit() in
  trap() if (curproc == NULL && cold) (&& cold for safety).
  
  Revision  Changes    Path
  1.154     +5 -3      src/sys/i386/i386/trap.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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