diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2015-02-16 19:00:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-16 20:56:05 -0500 |
commit | 780fc5642f59b6c6e2b05794de60b2d2ad5f040e (patch) | |
tree | 08591e68b483cbaf956c9e38fb382219700a27cc /arch/powerpc/include/asm/pte-44x.h | |
parent | 160cc266639d4213c15c103074561c1b44ffe691 (diff) |
powerpc: drop _PAGE_FILE and pte_file()-related helpers
We've replaced remap_file_pages(2) implementation with emulation. Nobody
creates non-linear mapping anymore.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/include/asm/pte-44x.h')
-rw-r--r-- | arch/powerpc/include/asm/pte-44x.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/pte-44x.h b/arch/powerpc/include/asm/pte-44x.h index 4192b9bad901..36f75fab23f5 100644 --- a/arch/powerpc/include/asm/pte-44x.h +++ b/arch/powerpc/include/asm/pte-44x.h | |||
@@ -44,9 +44,6 @@ | |||
44 | * - PRESENT *must* be in the bottom three bits because swap cache | 44 | * - PRESENT *must* be in the bottom three bits because swap cache |
45 | * entries use the top 29 bits for TLB2. | 45 | * entries use the top 29 bits for TLB2. |
46 | * | 46 | * |
47 | * - FILE *must* be in the bottom three bits because swap cache | ||
48 | * entries use the top 29 bits for TLB2. | ||
49 | * | ||
50 | * - CACHE COHERENT bit (M) has no effect on original PPC440 cores, | 47 | * - CACHE COHERENT bit (M) has no effect on original PPC440 cores, |
51 | * because it doesn't support SMP. However, some later 460 variants | 48 | * because it doesn't support SMP. However, some later 460 variants |
52 | * have -some- form of SMP support and so I keep the bit there for | 49 | * have -some- form of SMP support and so I keep the bit there for |
@@ -68,7 +65,6 @@ | |||
68 | * | 65 | * |
69 | * There are three protection bits available for SWAP entry: | 66 | * There are three protection bits available for SWAP entry: |
70 | * _PAGE_PRESENT | 67 | * _PAGE_PRESENT |
71 | * _PAGE_FILE | ||
72 | * _PAGE_HASHPTE (if HW has) | 68 | * _PAGE_HASHPTE (if HW has) |
73 | * | 69 | * |
74 | * So those three bits have to be inside of 0-2nd LSB of PTE. | 70 | * So those three bits have to be inside of 0-2nd LSB of PTE. |
@@ -77,7 +73,6 @@ | |||
77 | 73 | ||
78 | #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ | 74 | #define _PAGE_PRESENT 0x00000001 /* S: PTE valid */ |
79 | #define _PAGE_RW 0x00000002 /* S: Write permission */ | 75 | #define _PAGE_RW 0x00000002 /* S: Write permission */ |
80 | #define _PAGE_FILE 0x00000004 /* S: nonlinear file mapping */ | ||
81 | #define _PAGE_EXEC 0x00000004 /* H: Execute permission */ | 76 | #define _PAGE_EXEC 0x00000004 /* H: Execute permission */ |
82 | #define _PAGE_ACCESSED 0x00000008 /* S: Page referenced */ | 77 | #define _PAGE_ACCESSED 0x00000008 /* S: Page referenced */ |
83 | #define _PAGE_DIRTY 0x00000010 /* S: Page dirty */ | 78 | #define _PAGE_DIRTY 0x00000010 /* S: Page dirty */ |