linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Badari Pulavarty <pbadari@us.ibm.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	melgor@ie.ibm.com, haveblue@us.ibm.com
Cc: linux-mm <linux-mm@kvack.org>
Subject: [PATCH 1/2] Fix migratetype_names[] and make it available
Date: Wed, 24 Oct 2007 09:37:44 -0700	[thread overview]
Message-ID: <1193243864.30836.24.camel@dyn9047017100.beaverton.ibm.com> (raw)

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
---
 include/linux/pageblock-flags.h |    1 +
 mm/vmstat.c                     |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

Index: linux-2.6.23/include/linux/pageblock-flags.h
===================================================================
--- linux-2.6.23.orig/include/linux/pageblock-flags.h	2007-10-23 13:04:46.000000000 -0700
+++ linux-2.6.23/include/linux/pageblock-flags.h	2007-10-23 13:10:16.000000000 -0700
@@ -72,4 +72,5 @@ void set_pageblock_flags_group(struct pa
 #define set_pageblock_flags(page) \
 			set_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
 
+extern char * const migratetype_names[];
 #endif	/* PAGEBLOCK_FLAGS_H */
Index: linux-2.6.23/mm/vmstat.c
===================================================================
--- linux-2.6.23.orig/mm/vmstat.c	2007-10-23 13:05:03.000000000 -0700
+++ linux-2.6.23/mm/vmstat.c	2007-10-23 13:06:36.000000000 -0700
@@ -382,11 +382,12 @@ void zone_statistics(struct zonelist *zo
 
 #include <linux/seq_file.h>
 
-static char * const migratetype_names[MIGRATE_TYPES] = {
+char * const migratetype_names[MIGRATE_TYPES] = {
 	"Unmovable",
 	"Reclaimable",
 	"Movable",
 	"Reserve",
+	"Isolate",
 };
 
 static void *frag_start(struct seq_file *m, loff_t *pos)


--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2007-10-24 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24 16:37 Badari Pulavarty [this message]
2007-10-25 10:14 ` Mel Gorman
2007-10-25 15:55 Badari Pulavarty

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=1193243864.30836.24.camel@dyn9047017100.beaverton.ibm.com \
    --to=pbadari@us.ibm.com \
    --cc=haveblue@us.ibm.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-mm@kvack.org \
    --cc=melgor@ie.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox