Explorar o código

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>
Bob Moore %!s(int64=10) %!d(string=hai) anos
pai
achega
88606a2b90
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      drivers/acpi/acpica/acmacros.h

+ 5 - 0
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)
  */