]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: mm: Change pgtable_t type to pte_t * instead of struct page *
authorWill Deacon <will@kernel.org>
Tue, 14 Apr 2020 21:40:10 +0000 (22:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2020 22:32:00 +0000 (15:32 -0700)
commit3f407976ac2953116cb8880a7a18b63bcc81829d
treea6c8c04671658ba8deb6a6775cec51d25f02622a
parent8e958839e4b9fb6ea4385ff2c52d1333a3a618de
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>
arch/sparc/include/asm/page_32.h
arch/sparc/include/asm/pgalloc_32.h
arch/sparc/include/asm/pgtable_32.h
arch/sparc/mm/srmmu.c