From da9b951a892d96e0521abeec09d4345ddf04ab8d Mon Sep 17 00:00:00 2001 From: jkim Date: Fri, 14 Sep 2012 22:53:11 +0000 Subject: Import ACPICA 20120913. --- source/compiler/asloperands.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/compiler/asloperands.c') diff --git a/source/compiler/asloperands.c b/source/compiler/asloperands.c index 37274e7..6d4433d 100644 --- a/source/compiler/asloperands.c +++ b/source/compiler/asloperands.c @@ -182,6 +182,10 @@ OpnDoMethod ( Next = Next->Asl.Next; if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) { + /* This is a ByteConstExpr, so eval the constant now */ + + OpcAmlConstantWalk (Next, 0, NULL); + if (Next->Asl.Value.Integer > 15) { AslError (ASL_ERROR, ASL_MSG_SYNC_LEVEL, Next, NULL); -- cgit v1.1