]> git.hungrycats.org Git - linux/commit
[PATCH] Use NODES_SHIFT to calculate ZONE_SHIFT
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Dec 2003 13:45:21 +0000 (05:45 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Dec 2003 13:45:21 +0000 (05:45 -0800)
commite2c3c9e216d884075e00c50f7a84b5a78cdd64fc
tree79ad91fa6da2a1914724d5d0ea2f5d1b8978474c
parente403669ebf740531b20b7e3a70fb16de1c6a3683
[PATCH] Use NODES_SHIFT to calculate ZONE_SHIFT

From: jbarnes@sgi.com (Jesse Barnes)

Now that we have a proper NODES_SHIFT value, we need to use it to define
ZONE_SHIFT otherwise we'll spill over 8 bits if we have more than 85 nodes.
include/linux/mm.h
include/linux/mmzone.h