]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Split the various pgtable-* headers based on MMU type
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Mar 2009 17:53:29 +0000 (17:53 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 20 Mar 2009 04:56:57 +0000 (15:56 +1100)
commit7b04bcd2fcf44e918d15bf56a8ebe3490745d2f1
tree2e6673146afcb692dd9c137241e29abe94631679
parented4f93a3320c5024b68db2c2dc8b0112789e67d4
powerpc/mm: Split the various pgtable-* headers based on MMU type

This patch moves the definition of the PTE format for each MMU type
to separate files instead of all in one file. This improves overall
maintainability and will make it easier to add new types.

On 64-bit, additionally, I've separated the headers relative to the
format of the page table tree (3 vs. 4 levels for 64K vs 4K pages)
from the headers specific to the PTE format for hash based processors,
this will make it easier to add support for Book3 "E" 64-bit
implementations.

There are still some type-related ifdef's in the generic headers,
we might remove them in the long run, but this patch shouldn't result
in any code change, -hopefully- just definitions being moved around.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
14 files changed:
arch/powerpc/include/asm/pgtable-4k.h [deleted file]
arch/powerpc/include/asm/pgtable-64k.h [deleted file]
arch/powerpc/include/asm/pgtable-ppc32.h
arch/powerpc/include/asm/pgtable-ppc64-4k.h [new file with mode: 0644]
arch/powerpc/include/asm/pgtable-ppc64-64k.h [new file with mode: 0644]
arch/powerpc/include/asm/pgtable-ppc64.h
arch/powerpc/include/asm/pte-40x.h [new file with mode: 0644]
arch/powerpc/include/asm/pte-44x.h [new file with mode: 0644]
arch/powerpc/include/asm/pte-8xx.h [new file with mode: 0644]
arch/powerpc/include/asm/pte-fsl-booke.h [new file with mode: 0644]
arch/powerpc/include/asm/pte-hash32.h [new file with mode: 0644]
arch/powerpc/include/asm/pte-hash64-4k.h [new file with mode: 0644]
arch/powerpc/include/asm/pte-hash64-64k.h [new file with mode: 0644]
arch/powerpc/include/asm/pte-hash64.h [new file with mode: 0644]