kernel-fxtec-pro1x/drivers/acpi/dispatcher
Lin Ming b9d1312ad4 ACPICA: Fix for implicit return compatibility
Predicate can be used for an implicit return value.
This change improves the implicit return mechanism to be more
compatible with the MS interpreter.

http://www.acpica.org/bugzilla/show_bug.cgi?id=349

Below AML code from http://bugzilla.kernel.org/show_bug.cgi?id=10686

	Store(0x07D6, OSYS)
	Method (_CRT, 0, Serialized)
	{
	    If (LLess (OSYS, 0x07D6))
	    {
		If (LEqual (\_SB.TJ85, Zero))
		{
		    Return (Add (0x0AAC, Multiply (TPC, 0x0A)))
		}
		Else
		{
		    Return (Add (0x0AAC, Multiply (TP85, 0x0A)))
		}
	    }
	}

Previously _CRT returns 0x07D6, now it returns 0 (predicate value of LLess)

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-10-22 23:14:49 -04:00
..
dsfield.c ACPICA: Fix to allow zero-length ASL field declarations 2008-06-11 19:13:47 -04:00
dsinit.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
dsmethod.c ACPICA: Fixed a couple memory leaks associated with "implicit return" 2008-10-22 23:14:48 -04:00
dsmthdat.c ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
dsobject.c ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
dsopcode.c ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
dsutils.c ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
dswexec.c ACPICA: Fix for implicit return compatibility 2008-10-22 23:14:49 -04:00
dswload.c ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
dswscope.c ACPICA: update Intel copyright 2008-04-23 23:00:13 -04:00
dswstate.c ACPICA: Eliminate acpi_native_uint type v2 2008-07-16 23:27:03 +02:00
Makefile