diff options
author | Mel Gorman <mgorman@suse.de> | 2014-06-04 16:10:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:54:09 -0700 |
commit | 7aeb09f9104b760fc53c98cb7d20d06640baf9e6 (patch) | |
tree | c16390f09077fc3f5e8e3424a916522a9abe88da /include/asm-generic/string.h | |
parent | cfc47a2803db42140167b92d991ef04018e162c7 (diff) | |
download | talos-obmc-linux-7aeb09f9104b760fc53c98cb7d20d06640baf9e6.tar.gz talos-obmc-linux-7aeb09f9104b760fc53c98cb7d20d06640baf9e6.zip |
mm: page_alloc: use unsigned int for order in more places
X86 prefers the use of unsigned types for iterators and there is a
tendency to mix whether a signed or unsigned type if used for page order.
This converts a number of sites in mm/page_alloc.c to use unsigned int for
order where possible.
Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/string.h')
0 files changed, 0 insertions, 0 deletions