patch-2.4.25 linux-2.4.25/drivers/acpi/tables/tbget.c
Next file: linux-2.4.25/drivers/acpi/tables/tbgetall.c
Previous file: linux-2.4.25/drivers/acpi/tables/tbconvrt.c
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/acpi/tables/tbget.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.24/drivers/acpi/tables/tbget.c linux-2.4.25/drivers/acpi/tables/tbget.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
@@ -148,8 +148,7 @@
(void *) &header);
if (ACPI_FAILURE (status)) {
ACPI_REPORT_ERROR (("Could not map memory at %8.8X%8.8X for length %X\n",
- ACPI_HIDWORD (address->pointer.physical),
- ACPI_LODWORD (address->pointer.physical),
+ ACPI_FORMAT_UINT64 (address->pointer.physical),
sizeof (struct acpi_table_header)));
return_ACPI_STATUS (status);
}
@@ -365,8 +364,7 @@
if (ACPI_FAILURE (status)) {
ACPI_REPORT_ERROR (("Could not map memory for table [%4.4s] at %8.8X%8.8X for length %X\n",
header->signature,
- ACPI_HIDWORD (address->pointer.physical),
- ACPI_LODWORD (address->pointer.physical), header->length));
+ ACPI_FORMAT_UINT64 (address->pointer.physical), header->length));
return (status);
}
@@ -408,8 +406,7 @@
ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
"Found table [%4.4s] at %8.8X%8.8X, mapped/copied to %p\n",
full_table->signature,
- ACPI_HIDWORD (address->pointer.physical),
- ACPI_LODWORD (address->pointer.physical), full_table));
+ ACPI_FORMAT_UINT64 (address->pointer.physical), full_table));
return_ACPI_STATUS (status);
}
@@ -458,6 +455,7 @@
if (instance == 1) {
/* Get the first */
+ *table_ptr_loc = NULL;
if (acpi_gbl_table_lists[table_type].next) {
*table_ptr_loc = acpi_gbl_table_lists[table_type].next->pointer;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)