diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-11-29 14:06:51 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-04 19:45:01 +1100 |
commit | a95d133c8643cae40a35f82184640d312ba9f11f (patch) | |
tree | 309c980a1ab8a30278676edce2cd01ab64bb5634 /arch/powerpc/include/asm/mmu.h | |
parent | ddfc20a3b9ae23b09498a0a7c06a7049b251c158 (diff) | |
download | linux-a95d133c8643cae40a35f82184640d312ba9f11f.tar.gz linux-a95d133c8643cae40a35f82184640d312ba9f11f.tar.bz2 linux-a95d133c8643cae40a35f82184640d312ba9f11f.zip |
powerpc/mm: Move pte_fragment_alloc() to a common location
In preparation of next patch which generalises the use of
pte_fragment_alloc() for all, this patch moves the related functions
in a place that is common to all subarches.
The 8xx will need that for supporting 16k pages, as in that mode
page tables still have a size of 4k.
Since pte_fragment with only once fragment is not different
from what is done in the general case, we can easily migrate all
subarchs to pte fragments.
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions