Skip to contentSkip to conversation

mm: make validate_mm() static

PATCH In review Yuanhan Liu 2 participants 2 messages May 15, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm: make validate_mm() static

validate_mm() is just used in mmap.c only, thus make it static.

---
 mm/mmap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
mm/mmap.c +1 -1
index 848ef52..3e440f3 100644
@@ -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;
Signature · 8 lines
1.7.7.6

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  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:"[email protected]"> [email protected] </a>
#1 lore raw
Quoted 3 lines · Yuanhan Liu

validate_mm() is just used in mmap.c only, thus make it static.

Signature · 9 lines
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  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:"[email protected]"> [email protected] </a>