All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <aarcange@redhat.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: [PATCH -mm] fix powerpc/sparc build
Date: Mon, 10 Jan 2011 19:04:25 +0100	[thread overview]
Message-ID: <20110110180425.GK9506@random.random> (raw)
In-Reply-To: <20110108104208.ca085298.sfr@canb.auug.org.au>

This would become
thp-add-pmd-mangling-generic-functions-fix-pgtableh-build-for-um-2.patch

=====
Subject: thp: build fix for pmdp_get_and_clear

From: Andrea Arcangeli <aarcange@redhat.com>

__pmd should return a valid pmd_t for every arch.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
---


diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -93,7 +93,7 @@ static inline pmd_t pmdp_get_and_clear(s
 				       pmd_t *pmdp)
 {
 	BUG();
-	return (pmd_t){ 0 };
+	return __pmd(0);
 }
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE */
 #endif


WARNING: multiple messages have this Message-ID (diff)
From: Andrea Arcangeli <aarcange@redhat.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: [PATCH -mm] fix powerpc/sparc build
Date: Mon, 10 Jan 2011 19:04:25 +0100	[thread overview]
Message-ID: <20110110180425.GK9506@random.random> (raw)
In-Reply-To: <20110108104208.ca085298.sfr@canb.auug.org.au>

This would become
thp-add-pmd-mangling-generic-functions-fix-pgtableh-build-for-um-2.patch

=====
Subject: thp: build fix for pmdp_get_and_clear

From: Andrea Arcangeli <aarcange@redhat.com>

__pmd should return a valid pmd_t for every arch.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
---


diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -93,7 +93,7 @@ static inline pmd_t pmdp_get_and_clear(s
 				       pmd_t *pmdp)
 {
 	BUG();
-	return (pmd_t){ 0 };
+	return __pmd(0);
 }
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE */
 #endif

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-01-10 18:05 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 23:41 mmotm 2011-01-06-15-41 uploaded akpm
2011-01-06 23:41 ` akpm
2011-01-07 17:18 ` mmotm 2011-01-06-15-41 uploaded (apple_bl) Randy Dunlap
2011-01-07 17:18   ` Randy Dunlap
2011-01-07 23:42 ` mmotm 2011-01-06-15-41 uploaded Stephen Rothwell
2011-01-10 18:04   ` Andrea Arcangeli [this message]
2011-01-10 18:04     ` [PATCH -mm] fix powerpc/sparc build Andrea Arcangeli
2011-01-10 10:19 ` WARNING: at kernel/workqueue.c [was: mmotm 2011-01-06-15-41 uploaded] Jiri Slaby
2011-01-10 16:31   ` Minchan Kim
2011-01-10 23:36     ` Tony Luck
2011-01-11 14:32       ` Tejun Heo
2011-01-12  1:34         ` Hillf Danton
2011-01-12  9:52           ` Tejun Heo
2011-01-10 14:37 ` qemu-kvm defunct due to THP " Jiri Slaby
2011-01-10 14:37   ` Jiri Slaby
2011-01-10 15:01   ` Andrea Arcangeli
2011-01-10 15:01     ` Andrea Arcangeli
2011-01-10 21:02     ` Jiri Slaby
2011-01-10 21:02       ` Jiri Slaby
2011-01-12 15:02       ` Andrea Arcangeli
2011-01-12 15:02         ` Andrea Arcangeli
2011-01-11  1:01 ` bnx2 card cannot be detected (WAS Re: mmotm 2011-01-06-15-41 uploaded) CAI Qian
2011-01-11  1:01   ` CAI Qian
2011-01-11  4:10   ` CAI Qian
2011-01-11  4:10     ` CAI Qian
2011-01-11  8:00     ` CAI Qian
2011-01-11  8:00       ` CAI Qian
2011-01-13  9:52 ` WARNING: at fs/dcache.c:1359 d_set_d_op [was: mmotm 2011-01-06-15-41 uploaded] Jiri Slaby
2011-01-13  9:57   ` Jiri Slaby
2011-01-13 10:54     ` Nick Piggin
2011-01-13 10:54       ` Nick Piggin
2011-01-13 15:33   ` Valdis.Kletnieks
2011-01-13 15:40     ` Jiri Slaby
2011-01-14  8:20       ` [autofs] " Ian Kent
2011-01-16 11:32         ` Jiri Slaby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110110180425.GK9506@random.random \
    --to=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.