[folded-merged] mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix-3.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix-3
has been removed from the -mm tree.  Its filename was
     mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix-3.patch

This patch was dropped because it was folded into mm-consolidate-pte_index-and-pte_offset_-definitions.patch

------------------------------------------------------
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Subject: mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix-3

Fix powerpc build

Link: http://lkml.kernel.org/r/20200607153443.GB738695@xxxxxxxxxxxxx
Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Cc: Mike Rapoport <rppt@xxxxxxxxxxxxx>

Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/powerpc/include/asm/nohash/32/pgtable.h |    3 +++
 1 file changed, 3 insertions(+)

--- a/arch/powerpc/include/asm/nohash/32/pgtable.h~mm-consolidate-pgd_index-and-pgd_offset_k-definitions-fix-3
+++ a/arch/powerpc/include/asm/nohash/32/pgtable.h
@@ -205,6 +205,9 @@ static inline void pmd_clear(pmd_t *pmdp
 	*pmdp = __pmd(0);
 }
 
+/* to find an entry in a page-table-directory */
+#define pgd_index(address)	 ((address) >> PGDIR_SHIFT)
+#define pgd_offset(mm, address)	 ((mm)->pgd + pgd_index(address))
 
 /*
  * PTE updates. This function is called whenever an existing
_

Patches currently in -mm which might be from sfr@xxxxxxxxxxxxxxxx are

mm-consolidate-pte_index-and-pte_offset_-definitions.patch
maccess-unexport-probe_kernel_write-and-probe_user_write-fix.patch
kernel-better-document-the-use_mm-unuse_mm-api-contract-v2-fix.patch
kernel-better-document-the-use_mm-unuse_mm-api-contract-fix-2.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux