aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2015-07-23 00:53:57 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-23 17:09:08 -0400
commit88606a2b9020993a776df894941b3b07cc1374fe (patch)
tree7ce56a8ea46da05c0bed09325174af4a7279c653
parent276291962ebf43abebb491ddcd922009de9fde4b (diff)
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>
-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 19d40c6c1f32..e85366ceb15a 100644
--- a/drivers/acpi/acpica/acmacros.h
+++ b/drivers/acpi/acpica/acmacros.h
@@ -224,6 +224,11 @@
224 224
225#define ACPI_IS_ASCII(c) ((c) < 0x80) 225#define ACPI_IS_ASCII(c) ((c) < 0x80)
226 226
227/* Signed integers */
228
229#define ACPI_SIGN_POSITIVE 0
230#define ACPI_SIGN_NEGATIVE 1
231
227/* 232/*
228 * Rounding macros (Power of two boundaries only) 233 * Rounding macros (Power of two boundaries only)
229 */ 234 */