cvs commit: src/sys/i386/acpica acpi_wakeup.c
njl at FreeBSD.org
Thu Aug 19 11:48:18 PDT 2004
njl 2004-08-19 18:48:18 UTC
FreeBSD src repository
Disable interrupts after using pmap_enter() to add the identity mapping.
Since pmap_enter() calls pmap_invalidate_page(), which needs interrupts
enabled in the SMP case, we defer the disable to right before saving the
register context. This has been incorrect for about a year but caused no
real problems because the identity page never actually replaces a previously
mapped page and suspend/resume on SMP systems has been uncommon.
Tested by: sos
MFC after: 3 days
Revision Changes Path
1.38 +1 -1 src/sys/i386/acpica/acpi_wakeup.c
More information about the cvs-all