summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/acmacros.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2015-07-23 04:53:57 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-23 21:09:08 (GMT)
commit88606a2b9020993a776df894941b3b07cc1374fe (patch)
tree7ce56a8ea46da05c0bed09325174af4a7279c653 /drivers/acpi/acpica/acmacros.h
parent276291962ebf43abebb491ddcd922009de9fde4b (diff)
downloadlinux-88606a2b9020993a776df894941b3b07cc1374fe.tar.xz
ACPICA: Cleanup use of NEGATIVE and POSITIVE defines
ACPICA commit f88814201e01043a4f8caa69a69b799af11c44a3 These were defined in two places. Changed to ACPI_SIGN* names and define them once in acmacros.h This patch doesn't affect Linux kernel. Link: https://github.com/acpica/acpica/commit/f8881420 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acmacros.h')
-rw-r--r--drivers/acpi/acpica/acmacros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h
index 19d40c6..e85366c 100644
--- a/drivers/acpi/acpica/acmacros.h
+++ b/drivers/acpi/acpica/acmacros.h
@@ -224,6 +224,11 @@
#define ACPI_IS_ASCII(c) ((c) < 0x80)
+/* Signed integers */
+
+#define ACPI_SIGN_POSITIVE 0
+#define ACPI_SIGN_NEGATIVE 1
+
/*
* Rounding macros (Power of two boundaries only)
*/