patch-2.4.25 linux-2.4.25/drivers/acpi/namespace/nsalloc.c
Next file: linux-2.4.25/drivers/acpi/namespace/nsdump.c
Previous file: linux-2.4.25/drivers/acpi/namespace/nsaccess.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/acpi/namespace/nsalloc.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.24/drivers/acpi/namespace/nsalloc.c linux-2.4.25/drivers/acpi/namespace/nsalloc.c
@@ -5,7 +5,7 @@
******************************************************************************/
/*
- * Copyright (C) 2000 - 2003, R. Byron Moore
+ * Copyright (C) 2000 - 2004, R. Byron Moore
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -271,7 +271,7 @@
* alphabetic placement.
*/
previous_child_node = NULL;
- while (acpi_ns_compare_names (child_node->name.ascii, node->name.ascii) < 0) {
+ while (acpi_ns_compare_names (acpi_ut_get_node_name (child_node), acpi_ut_get_node_name (node)) < 0) {
if (child_node->flags & ANOBJ_END_OF_PEER_LIST) {
/* Last peer; Clear end-of-list flag */
@@ -335,8 +335,9 @@
node->type = (u8) type;
ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "%4.4s (%s) added to %4.4s (%s) %p at %p\n",
- node->name.ascii, acpi_ut_get_type_name (node->type),
- parent_node->name.ascii, acpi_ut_get_type_name (parent_node->type), parent_node, node));
+ acpi_ut_get_node_name (node), acpi_ut_get_type_name (node->type),
+ acpi_ut_get_node_name (parent_node), acpi_ut_get_type_name (parent_node->type),
+ parent_node, node));
/*
* Increment the reference count(s) of all parents up to
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)