aboutsummaryrefslogtreecommitdiffstats
path: root/source/compiler/asltransform.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/asltransform.c')
-rw-r--r--source/compiler/asltransform.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/compiler/asltransform.c b/source/compiler/asltransform.c
index 3249e367957c..324b0364dc9d 100644
--- a/source/compiler/asltransform.c
+++ b/source/compiler/asltransform.c
@@ -501,6 +501,16 @@ TrTransformSubtree (
AslError (ASL_WARNING, ASL_MSG_UNLOAD, Op, NULL);
break;
+ case PARSEOP_SLEEP:
+
+ /* Remark for very long sleep values */
+
+ if (Op->Asl.Child->Asl.Value.Integer > 1000)
+ {
+ AslError (ASL_REMARK, ASL_MSG_LONG_SLEEP, Op, NULL);
+ }
+ break;
+
default:
/* Nothing to do here for other opcodes */