All of lore.kernel.org
 help / color / mirror / Atom feed
* + s390-mm-forward-check-for-huge-pmds-to-pmd_large.patch added to -mm tree
@ 2015-05-28 20:35 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-05-28 20:35 UTC (permalink / raw)
  To: dingel, heiko.carstens, schwidefsky, mm-commits


The patch titled
     Subject: s390/mm: forward check for huge pmds to pmd_large()
has been added to the -mm tree.  Its filename is
     s390-mm-forward-check-for-huge-pmds-to-pmd_large.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/s390-mm-forward-check-for-huge-pmds-to-pmd_large.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/s390-mm-forward-check-for-huge-pmds-to-pmd_large.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Dominik Dingel <dingel@linux.vnet.ibm.com>
Subject: s390/mm: forward check for huge pmds to pmd_large()

We already do the check in pmd_large, so we can just forward the call.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/s390/mm/hugetlbpage.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff -puN arch/s390/mm/hugetlbpage.c~s390-mm-forward-check-for-huge-pmds-to-pmd_large arch/s390/mm/hugetlbpage.c
--- a/arch/s390/mm/hugetlbpage.c~s390-mm-forward-check-for-huge-pmds-to-pmd_large
+++ a/arch/s390/mm/hugetlbpage.c
@@ -141,10 +141,7 @@ pte_t *huge_pte_offset(struct mm_struct
 
 int pmd_huge(pmd_t pmd)
 {
-	if (!MACHINE_HAS_HPAGE)
-		return 0;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-28 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-28 20:35 + s390-mm-forward-check-for-huge-pmds-to-pmd_large.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.