OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9626b
)
ACPICA: Add ACPI_MAX macro
author
Bob Moore
<robert.moore@intel.com>
Fri, 2 Feb 2007 16:48:23 +0000
(19:48 +0300)
committer
Len Brown
<len.brown@intel.com>
Sat, 3 Feb 2007 02:14:30 +0000
(21:14 -0500)
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/acmacros.h
patch
|
blob
|
history
diff --git
a/include/acpi/acmacros.h
b/include/acpi/acmacros.h
index
192fa09
..
9b2e4d7
100644
(file)
--- 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 */