commit | 72f4f4cec34098e179ad5d257b07df3a514fcae2 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Thu Dec 15 09:51:17 2011 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Thu Jan 05 07:33:45 2012 -0800 |
tree | 42b7f9a28b45cd63e740b10a927b6a670c4cf49b | |
parent | 6a057c34ca84c0b7211538caa85f366a0a0e6434 [diff] |
Use the standard CC_LIKELY and CC_UNLIKELY macros Several source files privately defined macros LIKELY and UNLIKELY in terms of __builtin_expect. But <cutils/compiler.h> already has CC_LIKELY and CC_UNLIKELY which are intended for this purpose. So rename the private uses to use the standard names. In addition, AudioFlinger was relying on the macro expanding to extra ( ). Change-Id: I2494e087a0c0cac0ac998335f5e9c8ad02955873