summaryrefslogtreecommitdiff
path: root/source/include/actypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/actypes.h')
-rw-r--r--source/include/actypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/actypes.h b/source/include/actypes.h
index 1839f936e4e5..4cc6d4fd071e 100644
--- a/source/include/actypes.h
+++ b/source/include/actypes.h
@@ -586,6 +586,8 @@ typedef void * ACPI_HANDLE; /* Actually a ptr to a N
#define ACPI_NSEC_PER_MSEC 1000000L
#define ACPI_NSEC_PER_SEC 1000000000L
+#define ACPI_TIME_AFTER(a, b) ((INT64)((b) - (a)) < 0)
+
/* Owner IDs are used to track namespace nodes for selective deletion */