LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] proper prototype for show_numa_map()
@ 2008-03-30 22:49 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-03-30 22:49 UTC (permalink / raw)
  To: linux-kernel

This patch adds a proper prototype for show_numa_map()
in include/linux/mempolicy.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 25 Feb 2008

 fs/proc/task_mmu.c        |    2 --
 include/linux/mempolicy.h |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

75c93e5637cf3337f8dcd2713bac390dec1cc987 diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 6dc0334..624faf1 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -721,8 +721,6 @@ const struct file_operations proc_pagemap_operations = {
 #endif /* CONFIG_PROC_PAGE_MONITOR */
 
 #ifdef CONFIG_NUMA
-extern int show_numa_map(struct seq_file *m, void *v);
-
 static int show_numa_map_checked(struct seq_file *m, void *v)
 {
 	struct proc_maps_private *priv = m->private;
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h
index 59c4865..914fa6e 100644
--- a/include/linux/mempolicy.h
+++ b/include/linux/mempolicy.h
@@ -37,6 +37,7 @@
 
 struct vm_area_struct;
 struct mm_struct;
+struct seq_file;
 
 #ifdef CONFIG_NUMA
 
@@ -165,6 +166,8 @@ static inline void check_highest_zone(enum zone_type k)
 int do_migrate_pages(struct mm_struct *mm,
 	const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags);
 
+int show_numa_map(struct seq_file *m, void *v);
+
 #else
 
 struct mempolicy {};


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [2.6 patch] proper prototype for show_numa_map()
@ 2008-04-21 21:32 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-04-21 21:32 UTC (permalink / raw)
  To: linux-kernel

This patch adds a proper prototype for show_numa_map()
in include/linux/mempolicy.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 14 Apr 2008
- 31 Mar 2008
- 25 Feb 2008

 fs/proc/task_mmu.c        |    2 --
 include/linux/mempolicy.h |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

75c93e5637cf3337f8dcd2713bac390dec1cc987 diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 6dc0334..624faf1 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -721,8 +721,6 @@ const struct file_operations proc_pagemap_operations = {
 #endif /* CONFIG_PROC_PAGE_MONITOR */
 
 #ifdef CONFIG_NUMA
-extern int show_numa_map(struct seq_file *m, void *v);
-
 static int show_numa_map_checked(struct seq_file *m, void *v)
 {
 	struct proc_maps_private *priv = m->private;
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h
index 59c4865..914fa6e 100644
--- a/include/linux/mempolicy.h
+++ b/include/linux/mempolicy.h
@@ -37,6 +37,7 @@
 
 struct vm_area_struct;
 struct mm_struct;
+struct seq_file;
 
 #ifdef CONFIG_NUMA
 
@@ -165,6 +166,8 @@ static inline void check_highest_zone(enum zone_type k)
 int do_migrate_pages(struct mm_struct *mm,
 	const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags);
 
+int show_numa_map(struct seq_file *m, void *v);
+
 #else
 
 struct mempolicy {};


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [2.6 patch] proper prototype for show_numa_map()
@ 2008-04-14 18:14 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-04-14 18:14 UTC (permalink / raw)
  To: linux-kernel

This patch adds a proper prototype for show_numa_map()
in include/linux/mempolicy.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 31 Mar 2008
- 25 Feb 2008

 fs/proc/task_mmu.c        |    2 --
 include/linux/mempolicy.h |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

75c93e5637cf3337f8dcd2713bac390dec1cc987 diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 6dc0334..624faf1 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -721,8 +721,6 @@ const struct file_operations proc_pagemap_operations = {
 #endif /* CONFIG_PROC_PAGE_MONITOR */
 
 #ifdef CONFIG_NUMA
-extern int show_numa_map(struct seq_file *m, void *v);
-
 static int show_numa_map_checked(struct seq_file *m, void *v)
 {
 	struct proc_maps_private *priv = m->private;
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h
index 59c4865..914fa6e 100644
--- a/include/linux/mempolicy.h
+++ b/include/linux/mempolicy.h
@@ -37,6 +37,7 @@
 
 struct vm_area_struct;
 struct mm_struct;
+struct seq_file;
 
 #ifdef CONFIG_NUMA
 
@@ -165,6 +166,8 @@ static inline void check_highest_zone(enum zone_type k)
 int do_migrate_pages(struct mm_struct *mm,
 	const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags);
 
+int show_numa_map(struct seq_file *m, void *v);
+
 #else
 
 struct mempolicy {};


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [2.6 patch] proper prototype for show_numa_map()
@ 2008-02-25  0:08 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-02-25  0:08 UTC (permalink / raw)
  To: linux-kernel

This patch adds a proper prototype for show_numa_map()
in include/linux/mempolicy.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 fs/proc/task_mmu.c        |    2 --
 include/linux/mempolicy.h |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

75c93e5637cf3337f8dcd2713bac390dec1cc987 diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 6dc0334..624faf1 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -721,8 +721,6 @@ const struct file_operations proc_pagemap_operations = {
 #endif /* CONFIG_PROC_PAGE_MONITOR */
 
 #ifdef CONFIG_NUMA
-extern int show_numa_map(struct seq_file *m, void *v);
-
 static int show_numa_map_checked(struct seq_file *m, void *v)
 {
 	struct proc_maps_private *priv = m->private;
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h
index 59c4865..914fa6e 100644
--- a/include/linux/mempolicy.h
+++ b/include/linux/mempolicy.h
@@ -37,6 +37,7 @@
 
 struct vm_area_struct;
 struct mm_struct;
+struct seq_file;
 
 #ifdef CONFIG_NUMA
 
@@ -165,6 +166,8 @@ static inline void check_highest_zone(enum zone_type k)
 int do_migrate_pages(struct mm_struct *mm,
 	const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags);
 
+int show_numa_map(struct seq_file *m, void *v);
+
 #else
 
 struct mempolicy {};


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-21 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 22:49 [2.6 patch] proper prototype for show_numa_map() Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2008-04-21 21:32 Adrian Bunk
2008-04-14 18:14 Adrian Bunk
2008-02-25  0:08 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).