Skip to content

Commit

Permalink
ACPICA: Cleanup use of NEGATIVE and POSITIVE defines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Jul 23, 2015
1 parent 2762919 commit 88606a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/acpi/acpica/acmacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down

0 comments on commit 88606a2

Please sign in to comment.