diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 16:48:23 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-03 02:14:30 (GMT) |
commit | 987c21a0b0081d480ec3cd04875509cdc10e15e7 (patch) | |
tree | b28184ede836dff32f61b2895e3fa584629e018a /include/acpi/acmacros.h | |
parent | 7c9626bade13de3f160f0926455328650045d6cd (diff) | |
download | linux-fsl-qoriq-987c21a0b0081d480ec3cd04875509cdc10e15e7.tar.xz |
ACPICA: Add ACPI_MAX macro
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acmacros.h')
-rw-r--r-- | include/acpi/acmacros.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acmacros.h b/include/acpi/acmacros.h index 192fa09..9b2e4d7 100644 --- a/include/acpi/acmacros.h +++ b/include/acpi/acmacros.h @@ -55,6 +55,7 @@ #define ACPI_SET_BIT(target,bit) ((target) |= (bit)) #define ACPI_CLEAR_BIT(target,bit) ((target) &= ~(bit)) #define ACPI_MIN(a,b) (((a)<(b))?(a):(b)) +#define ACPI_MAX(a,b) (((a)>(b))?(a):(b)) /* Size calculation */ |