mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [M68KNOMMU]: mark mem init functions as __init
@ 2007-10-24  2:03 Greg Ungerer
  0 siblings, 0 replies; only message in thread
From: Greg Ungerer @ 2007-10-24  2:03 UTC (permalink / raw)
  To: torvalds; +Cc: gerg, linux-kernel

Mark the m68knommu memory init functions as __init.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-24  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24  2:03 [M68KNOMMU]: mark mem init functions as __init Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®