diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-19 20:34:09 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-24 03:47:33 +0100 |
commit | 71087002cf807e25056dba4e4028a9f204dc9ffd (patch) | |
tree | 60b64edb2c79b3183bb8187a3492994a72453b94 /arch/powerpc/mm/mmap_64.c | |
parent | powerpc/mm: Tweak PTE bit combination definitions (diff) | |
download | linux-71087002cf807e25056dba4e4028a9f204dc9ffd.tar.xz linux-71087002cf807e25056dba4e4028a9f204dc9ffd.zip |
powerpc/mm: Merge various PTE bits and accessors definitions
Now that they are almost identical, we can merge some of the definitions
related to the PTE format into common files.
This creates a new pte-common.h which is included by both 32 and 64-bit
right after the CPU specific pte-*.h file, and which defines some
bits to "default" values if they haven't been defined already, and
then provides a generic definition of most of the bit combinations
based on these and exposed to the rest of the kernel.
I also moved to the common pgtable.h most of the "small" accessors to the
PTE bits and modification helpers (pte_mk*). The actual accessors remain
in their separate files.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/mmap_64.c')
0 files changed, 0 insertions, 0 deletions