patch-2.4.0-prerelease linux/drivers/acpi/interpreter/amstorob.c

Next file: linux/drivers/acpi/interpreter/amsystem.c
Previous file: linux/drivers/acpi/interpreter/amstoren.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/drivers/acpi/interpreter/amstorob.c linux/drivers/acpi/interpreter/amstorob.c
@@ -2,7 +2,7 @@
 /******************************************************************************
  *
  * Module Name: amstorob - AML Interpreter object store support, store to object
- *              $Revision: 16 $
+ *              $Revision: 18 $
  *
  *****************************************************************************/
 
@@ -294,6 +294,10 @@
 	case ACPI_TYPE_NUMBER:
 
 		dest_desc->number.value = val_desc->number.value;
+
+		/* Truncate value if we are executing from a 32-bit ACPI table */
+
+		acpi_aml_truncate_for32bit_table (dest_desc, walk_state);
 		break;
 
 	default:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)