diff options
author | Mark Rustad <mark.d.rustad@intel.com> | 2014-10-10 00:28:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-10 04:25:57 +0200 |
commit | 7c809968ffa92d41baaa9054e897436480179b20 (patch) | |
tree | ed398fc20903aa201f57aa508f1e03189802a776 /mm/oom_kill.c | |
parent | mm: page_alloc: avoid wakeup kswapd on the unintended node (diff) | |
download | linux-7c809968ffa92d41baaa9054e897436480179b20.tar.xz linux-7c809968ffa92d41baaa9054e897436480179b20.zip |
mm/page-writeback.c: use min3/max3 macros to avoid shadow warnings
Nested calls to min/max functions result in shadow warnings in W=2 builds.
Avoid the warning by using the min3 and max3 macros to get the min/max of
3 values instead of nested calls.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions