svn commit: r240367 - head/sys/dev/acpica

Andriy Gapon avg at FreeBSD.org
Tue Sep 11 17:21:26 UTC 2012


Author: avg
Date: Tue Sep 11 17:21:25 2012
New Revision: 240367
URL: http://svn.freebsd.org/changeset/base/240367

Log:
  revert r240344: cpu_devices[] is used in other functions and must be kept
  
  Reported by:	gjb, glebius
  Pointyhat to:	avg
  MFC after:	1 day
  X-MFC note:	fake MFC, reminder to never MFC r240344

Modified:
  head/sys/dev/acpica/acpi_cpu.c

Modified: head/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- head/sys/dev/acpica/acpi_cpu.c	Tue Sep 11 16:59:04 2012	(r240366)
+++ head/sys/dev/acpica/acpi_cpu.c	Tue Sep 11 17:21:25 2012	(r240367)
@@ -862,7 +862,6 @@ acpi_cpu_startup(void *arg)
     cpu_cx_lowest_lim = 0;
     cpu_disable_idle = FALSE;
     cpu_idle_hook = acpi_cpu_idle;
-    free(cpu_devices, M_TEMP);
 }
 
 static void


More information about the svn-src-all mailing list