From: Bob Moore Date: Fri, 2 Feb 2007 16:48:23 +0000 (+0300) Subject: ACPICA: Add ACPI_MAX macro X-Git-Tag: v2.6.21-rc1~92^2~32^2^2~9^2~21 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=987c21a0b0081d480ec3cd04875509cdc10e15e7;p=linux-2.6 ACPICA: Add ACPI_MAX macro Signed-off-by: Alexey Starikovskiy Signed-off-by: Len Brown --- diff --git a/include/acpi/acmacros.h b/include/acpi/acmacros.h index 192fa095a5..9b2e4d7154 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 */