]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
m68knommu: mark mem init functions as __init
authorGreg Ungerer <gerg@snapgear.com>
Wed, 24 Oct 2007 02:03:46 +0000 (12:03 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 24 Oct 2007 03:45:44 +0000 (20:45 -0700)
Mark the m68knommu memory init functions as __init.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68knommu/mm/init.c

index 06e538d1be3ad99e13a64f07185db525cb056edf..22e2a0d02b81958ab078a874baa9d07c680142b2 100644 (file)
@@ -98,7 +98,7 @@ extern unsigned long memory_end;
  * The parameters are pointers to where to stick the starting and ending
  * addresses of available kernel virtual memory.
  */
-void paging_init(void)
+void __init paging_init(void)
 {
        /*
         * Make sure start_mem is page aligned, otherwise bootmem and
@@ -147,7 +147,7 @@ void paging_init(void)
        }
 }
 
-void mem_init(void)
+void __init mem_init(void)
 {
        int codek = 0, datak = 0, initk = 0;
        unsigned long tmp;