]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Fix typo in PTRS_PER_PUD
authorScott Wood <scottwood@freescale.com>
Wed, 12 Sep 2012 13:00:09 +0000 (13:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 17 Sep 2012 06:31:47 +0000 (16:31 +1000)
commit6f0260a5262bbb5a7705425bf5a0cef86788c5e5
tree98dd108e3803425ec612af65347d26b0cec2fb78
parent5e78cce357f5b36edc7039299f3ca055b3ab32ab
powerpc/mm: Fix typo in PTRS_PER_PUD

PTRS_PER_PUD should be based on PUD_INDEX_SIZE, not PMD_INDEX_SIZE.  We
got away with it because PUD and PMD had the same index size, but this is
no longer true with Aneesh's patchset to support a 46-bit user effective
address space.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgtable-ppc64-4k.h