summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/cacheflush.h
diff options
context:
space:
mode:
authorChristoph Lameter2006-01-06 09:11:18 +0100
committerLinus Torvalds2006-01-06 17:33:28 +0100
commit02a68a5ebc7dd823da7496116f42290103e1e4a9 (patch)
tree7b79d20246b5c9b769e4f6172fe97e6f91fb921b /include/asm-xtensa/cacheflush.h
parent[PATCH] mm: move determination of policy_zone into page allocator (diff)
downloadkernel-qcow2-linux-02a68a5ebc7dd823da7496116f42290103e1e4a9.tar.gz
kernel-qcow2-linux-02a68a5ebc7dd823da7496116f42290103e1e4a9.tar.xz
kernel-qcow2-linux-02a68a5ebc7dd823da7496116f42290103e1e4a9.zip
[PATCH] Fix zone policy determination
The use k in the inner loop means that the highest zone nr is always used if any zone of a node is populated. This means that the policy zone is not correctly determined on arches that do no use HIGHMEM like ia64. Change the loop to decrement k which also simplifies the BUG_ON. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-xtensa/cacheflush.h')
0 files changed, 0 insertions, 0 deletions