cvs commit: src/sys/i386/i386 legacy.c

Nate Lawson njl at FreeBSD.org
Tue Feb 15 07:21:21 GMT 2005


njl         2005-02-15 07:21:20 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        legacy.c 
  Log:
  Correct a few bugs in the legacy cpu attachment.  Get the unit from the
  parent cpu device before passing it to pcpu_find().  Get the ivars from the
  child, not parent cpu device.  These bugs would cause a panic when
  dereferencing the pcpu ivar, but weren't present in the acpi attachment
  which it seems most people are using.
  
  Revision  Changes    Path
  1.61      +2 -3      src/sys/i386/i386/legacy.c


More information about the cvs-src mailing list