mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
s390/pgtable: define PFN_PTE_SHIFT
We want to make use of pte_next_pfn() outside of set_ptes(). Let's simply define PFN_PTE_SHIFT, required by pte_next_pfn(). Link: https://lkml.kernel.org/r/20240129124649.189745-7-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Tested-by: Ryan Roberts <ryan.roberts@arm.com> Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org> Cc: Albert Ou <aou@eecs.berkeley.edu> Cc: Alexander Gordeev <agordeev@linux.ibm.com> Cc: Alexandre Ghiti <alexghiti@rivosinc.com> Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Christian Borntraeger <borntraeger@linux.ibm.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: David S. Miller <davem@davemloft.net> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Cc: Heiko Carstens <hca@linux.ibm.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Palmer Dabbelt <palmer@dabbelt.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Russell King (Oracle) <linux@armlinux.org.uk> Cc: Sven Schnelle <svens@linux.ibm.com> Cc: Vasily Gorbik <gor@linux.ibm.com> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
57c254b2fb
commit
4555ac8b3c
@ -1316,6 +1316,8 @@ pgprot_t pgprot_writecombine(pgprot_t prot);
|
|||||||
#define pgprot_writethrough pgprot_writethrough
|
#define pgprot_writethrough pgprot_writethrough
|
||||||
pgprot_t pgprot_writethrough(pgprot_t prot);
|
pgprot_t pgprot_writethrough(pgprot_t prot);
|
||||||
|
|
||||||
|
#define PFN_PTE_SHIFT PAGE_SHIFT
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set multiple PTEs to consecutive pages with a single call. All PTEs
|
* Set multiple PTEs to consecutive pages with a single call. All PTEs
|
||||||
* are within the same folio, PMD and VMA.
|
* are within the same folio, PMD and VMA.
|
||||||
|
Loading…
Reference in New Issue
Block a user