diff options
| author | Hagen Paul Pfeifer <[email protected]> | 2010-10-26 14:22:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-26 16:52:12 -0700 |
| commit | f27c85c56b32c42bcc54a43189c1e00fdceb23ec (patch) | |
| tree | a3d8bd30d840082ea2709f47da5dca940aab0884 /scripts/objdiff | |
| parent | c5c6dd4e2dce3cb4d705d97183bc42b4e33e2606 (diff) | |
kernel.h: add {min,max}3 macros
Introduce two additional min/max macros to compare three operands. This
will save some cycles as well as some bytes on the stack and last but not
least more pleasing as macro nesting.
[[email protected]: fix warnings]
Signed-off-by: Hagen Paul Pfeifer <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Hartley Sweeten <[email protected]>
Cc: Russell King <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Sean Hefty <[email protected]>
Cc: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions