* [PATCH] mm: make validate_mm() static
@ 2012-05-15 1:10 Yuanhan Liu
2012-05-15 2:43 ` Minchan Kim
0 siblings, 1 reply; 2+ messages in thread
From: Yuanhan Liu @ 2012-05-15 1:10 UTC (permalink / raw)
To: linux-mm; +Cc: linux-kernel, Yuanhan Liu
validate_mm() is just used in mmap.c only, thus make it static.
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
---
mm/mmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index 848ef52..3e440f3 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -335,7 +335,7 @@ static int browse_rb(struct rb_root *root)
return i;
}
-void validate_mm(struct mm_struct *mm)
+static void validate_mm(struct mm_struct *mm)
{
int bug = 0;
int i = 0;
--
1.7.7.6
--
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 internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: make validate_mm() static
2012-05-15 1:10 [PATCH] mm: make validate_mm() static Yuanhan Liu
@ 2012-05-15 2:43 ` Minchan Kim
0 siblings, 0 replies; 2+ messages in thread
From: Minchan Kim @ 2012-05-15 2:43 UTC (permalink / raw)
To: Yuanhan Liu; +Cc: linux-mm, linux-kernel
On 05/15/2012 10:10 AM, Yuanhan Liu wrote:
> validate_mm() is just used in mmap.c only, thus make it static.
>
> Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reveiwed-by: Minchan Kim <minchan@kernel.org>
--
Kind regards,
Minchan Kim
--
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 internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-15 2:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 1:10 [PATCH] mm: make validate_mm() static Yuanhan Liu
2012-05-15 2:43 ` Minchan Kim
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).