diff options
author | Stephen Wilson <wilsons@start.ca> | 2011-05-25 02:12:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 17:39:33 +0200 |
commit | 722e2ee09b8dfc2ac5eedb802dc0d227702df084 (patch) | |
tree | 0ce839a50764cb5e50ad7e748773ae159a8dc9cc /mm/nommu.c | |
parent | mm: remove MPOL_MF_STATS (diff) | |
download | linux-722e2ee09b8dfc2ac5eedb802dc0d227702df084.tar.xz linux-722e2ee09b8dfc2ac5eedb802dc0d227702df084.zip |
mm: make gather_stats() type-safe and remove forward declaration
Improve the prototype of gather_stats() to take a struct numa_maps as
argument instead of a generic void *. Update all callers to make the
required type explicit.
Since gather_stats() is not needed before its definition and is scheduled
to be moved out of mempolicy.c the declaration is removed as well.
Signed-off-by: Stephen Wilson <wilsons@start.ca>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions