]> 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)
commit9f2c8a28cfc02969aaac0f3701feed22b3295100
treea6c8c04671658ba8deb6a6775cec51d25f02622a
parentf54bf8a17287745a2d6df769df528d2baa4dece8
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