All of lore.kernel.org
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org
To: rakib.mullick@gmail.com, mm-commits@vger.kernel.org
Subject: [nacked] hugetlb-fix-section-mismatch-warning-in-hugetlbc.patch removed from -mm tree
Date: Fri, 08 Jan 2010 13:36:26 -0800	[thread overview]
Message-ID: <201001082136.o08LaQ6k015397@imap1.linux-foundation.org> (raw)


The patch titled
     hugetlb: fix section mismatch warning in hugetlb.c
has been removed from the -mm tree.  Its filename was
     hugetlb-fix-section-mismatch-warning-in-hugetlbc.patch

This patch was dropped because it was nacked

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: hugetlb: fix section mismatch warning in hugetlb.c
From: Rakib Mullick <rakib.mullick@gmail.com>

Since hugetlb_sysfs_add_hstate()'s caller is __init and it isn't
referencing from any other function, we can do this.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/hugetlb.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff -puN mm/hugetlb.c~hugetlb-fix-section-mismatch-warning-in-hugetlbc mm/hugetlb.c
--- a/mm/hugetlb.c~hugetlb-fix-section-mismatch-warning-in-hugetlbc
+++ a/mm/hugetlb.c
@@ -1650,7 +1650,7 @@ static void hugetlb_unregister_all_nodes
  * Register hstate attributes for a single node sysdev.
  * No-op if attributes already registered.
  */
-void hugetlb_register_node(struct node *node)
+void __init hugetlb_register_node(struct node *node)
 {
 	struct hstate *h;
 	struct node_hstate *nhs = &node_hstates[node->sysdev.id];
@@ -1683,7 +1683,7 @@ void hugetlb_register_node(struct node *
  * sysdevs of nodes that have memory.  All on-line nodes should have
  * registered their associated sysdev by this time.
  */
-static void hugetlb_register_all_nodes(void)
+static void __init hugetlb_register_all_nodes(void)
 {
 	int nid;
 
@@ -1712,7 +1712,7 @@ static struct hstate *kobj_to_node_hstat
 
 static void hugetlb_unregister_all_nodes(void) { }
 
-static void hugetlb_register_all_nodes(void) { }
+static void __init hugetlb_register_all_nodes(void) { }
 
 #endif
 
_

Patches currently in -mm which might be from rakib.mullick@gmail.com are

linux-next.patch
acpi-fix-unused-variable-warning-in-sbsc.patch
hugetlb-fix-section-mismatch-warning-in-hugetlbc.patch


                 reply	other threads:[~2010-01-08 21:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201001082136.o08LaQ6k015397@imap1.linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=rakib.mullick@gmail.com \
    /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.