diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-09-26 08:31:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 17:48:47 +0200 |
commit | 2f6726e54a9410e2e4cee864947c05e954051916 (patch) | |
tree | 91b1173dead0cfc4a25caacb34b6c80f526bbc59 /README | |
parent | [PATCH] mempolicies: fix policy_zone check (diff) | |
download | linux-2f6726e54a9410e2e4cee864947c05e954051916.tar.xz linux-2f6726e54a9410e2e4cee864947c05e954051916.zip |
[PATCH] Apply type enum zone_type
After we have done this we can now do some typing cleanup.
The memory policy layer keeps a policy_zone that specifies
the zone that gets memory policies applied. This variable
can now be of type enum zone_type.
The check_highest_zone function and the build_zonelists funnctionm must
then also take a enum zone_type parameter.
Plus there are a number of loops over zones that also should use
zone_type.
We run into some troubles at some points with functions that need a
zone_type variable to become -1. Fix that up.
[pj@sgi.com: fix set_mempolicy() crash]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions