From: Benjamin Herrenschmidt Date: Thu, 19 Mar 2009 19:34:09 +0000 (+0000) Subject: powerpc/mm: Merge various PTE bits and accessors definitions X-Git-Tag: v2.6.30-rc1~619^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71087002cf807e25056dba4e4028a9f204dc9ffd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed