]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mm/hugetlb.c: make a function static
authorAdrian Bunk <bunk@kernel.org>
Thu, 15 Nov 2007 00:59:43 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:40 +0000 (18:45 -0800)
return_unused_surplus_pages() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Adam Litke <agl@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c

index b52b6ddd6c15b0ef0ea9cbc74b1621436cc1be73..abe1e9f2a942281df9707530610dc0b3c349ac04 100644 (file)
@@ -328,7 +328,7 @@ free:
  * allocated to satisfy the reservation must be explicitly freed if they were
  * never used.
  */
-void return_unused_surplus_pages(unsigned long unused_resv_pages)
+static void return_unused_surplus_pages(unsigned long unused_resv_pages)
 {
        static int nid = -1;
        struct page *page;