summaryrefslogtreecommitdiffstats
path: root/include/acpi/acopcode.h
diff options
context:
space:
mode:
authorAlexey Starikovskiy2007-02-02 17:48:22 +0100
committerLen Brown2007-02-03 03:14:29 +0100
commita6823e12ca3f79a8c0f8b2d14976ab2152d117e5 (patch)
treeb09c1cfca1332b9bf878827900f86a768ba2da9c /include/acpi/acopcode.h
parentACPICA: Miscellaneous table manager updates and optimizations (diff)
downloadkernel-qcow2-linux-a6823e12ca3f79a8c0f8b2d14976ab2152d117e5.tar.gz
kernel-qcow2-linux-a6823e12ca3f79a8c0f8b2d14976ab2152d117e5.tar.xz
kernel-qcow2-linux-a6823e12ca3f79a8c0f8b2d14976ab2152d117e5.zip
ACPICA: Fixes for load() operator.
Optimized the Load operator in the case where the source operand is an operation region. Simply map the operation region memory, instead of performing a bytewise read. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acopcode.h')
-rw-r--r--include/acpi/acopcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acopcode.h b/include/acpi/acopcode.h
index 7659a46bc432..d71f5d9db13a 100644
--- a/include/acpi/acopcode.h
+++ b/include/acpi/acopcode.h
@@ -257,7 +257,7 @@
#define ARGI_LLESSEQUAL_OP ARGI_INVALID_OPCODE
#define ARGI_LNOT_OP ARGI_LIST1 (ARGI_INTEGER)
#define ARGI_LNOTEQUAL_OP ARGI_INVALID_OPCODE
-#define ARGI_LOAD_OP ARGI_LIST2 (ARGI_REGION_OR_FIELD,ARGI_TARGETREF)
+#define ARGI_LOAD_OP ARGI_LIST2 (ARGI_REGION_OR_BUFFER,ARGI_TARGETREF)
#define ARGI_LOAD_TABLE_OP ARGI_LIST6 (ARGI_STRING, ARGI_STRING, ARGI_STRING, ARGI_STRING, ARGI_STRING, ARGI_ANYTYPE)
#define ARGI_LOCAL0 ARG_NONE
#define ARGI_LOCAL1 ARG_NONE