[M68KNOMMU]: mark mem init functions as __init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark the m68knommu memory init functions as __init.

Signed-off-by: Greg Ungerer <[email protected]>
---

diff -Naurp linux-2.6.23-git19/arch/m68knommu/mm/init.c linux-2.6.23-git19.hacked/arch/m68knommu/mm/init.c
--- linux-2.6.23-git19/arch/m68knommu/mm/init.c	2007-10-10 06:31:38.000000000 +1000
+++ linux-2.6.23-git19.hacked/arch/m68knommu/mm/init.c	2007-10-24 11:37:48.000000000 +1000
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux