patch-2.4.23 linux-2.4.23/drivers/acpi/tables/tbinstal.c
Next file: linux-2.4.23/drivers/acpi/tables.c
Previous file: linux-2.4.23/drivers/acpi/tables/tbconvrt.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/drivers/acpi/tables/tbinstal.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.22/drivers/acpi/tables/tbinstal.c linux-2.4.23/drivers/acpi/tables/tbinstal.c
@@ -350,7 +350,7 @@
void
acpi_tb_delete_all_tables (void)
{
- acpi_table_type type;
+ acpi_table_type type;
/*
@@ -378,7 +378,7 @@
void
acpi_tb_delete_tables_by_type (
- acpi_table_type type)
+ acpi_table_type type)
{
struct acpi_table_desc *table_desc;
u32 count;
@@ -425,15 +425,16 @@
break;
}
- /* Free the table */
- /* Get the head of the list */
-
+ /*
+ * Free the table
+ * 1) Get the head of the list
+ */
table_desc = acpi_gbl_table_lists[type].next;
count = acpi_gbl_table_lists[type].count;
/*
- * Walk the entire list, deleting both the allocated tables
- * and the table descriptors
+ * 2) Walk the entire list, deleting both the allocated tables
+ * and the table descriptors
*/
for (i = 0; i < count; i++) {
table_desc = acpi_tb_uninstall_table (table_desc);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)