diff options
author | Will Deacon <will@kernel.org> | 2020-04-14 22:40:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-13 15:32:00 -0700 |
commit | 3f407976ac2953116cb8880a7a18b63bcc81829d (patch) | |
tree | a6c8c04671658ba8deb6a6775cec51d25f02622a /arch/sparc/include/asm/page_32.h | |
parent | 8e958839e4b9fb6ea4385ff2c52d1333a3a618de (diff) |
sparc32: mm: Change pgtable_t type to pte_t * instead of struct page *
Change the 'pgtable_t' type for sparc32 so that it represents the uncached
virtual address of the PTE table, rather than the underlying 'struct page'.
This allows us to free page table allocations smaller than a page.
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/page_32.h')
-rw-r--r-- | arch/sparc/include/asm/page_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/page_32.h b/arch/sparc/include/asm/page_32.h index da01c8c45412..fff8861df107 100644 --- a/arch/sparc/include/asm/page_32.h +++ b/arch/sparc/include/asm/page_32.h @@ -106,7 +106,7 @@ typedef unsigned long iopgprot_t; #endif -typedef struct page *pgtable_t; +typedef pte_t *pgtable_t; #define TASK_UNMAPPED_BASE 0x50000000 |