From b28e481ae9b051dab150e9b5a89730cdc1103a9c Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 2 Jan 2013 19:01:21 +0000 Subject: Import ACPICA 20121220. --- source/compiler/aslutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/compiler/aslutils.c') diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c index ac749c44716bb..d2a70d74afd4f 100644 --- a/source/compiler/aslutils.c +++ b/source/compiler/aslutils.c @@ -826,7 +826,8 @@ UtAttachNameseg ( /* No dots in the namepath, there is only a single nameseg. */ /* Handle prefixes */ - while ((*Name == '\\') || (*Name == '^')) + while (ACPI_IS_ROOT_PREFIX (*Name) || + ACPI_IS_PARENT_PREFIX (*Name)) { Name++; } -- cgit v1.2.3