[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200710240203.l9O23fZi016665@goober>
Date: Wed, 24 Oct 2007 12:03:41 +1000
From: Greg Ungerer <gerg@...pgear.com>
To: torvalds@...ux-foundation.org
Cc: gerg@...inux.org, linux-kernel@...r.kernel.org
Subject: [M68KNOMMU]: mark setup_arch() as __init
Mark the m68knommu setup_arch() function as __init.
Signed-off-by: Greg Ungerer <gerg@...inux.org>
---
diff -Naurp linux-2.6.23-git19/arch/m68knommu/kernel/setup.c linux-2.6.23-git19.hacked/arch/m68knommu/kernel/setup.c
--- linux-2.6.23-git19/arch/m68knommu/kernel/setup.c 2007-10-24 11:20:35.000000000 +1000
+++ linux-2.6.23-git19.hacked/arch/m68knommu/kernel/setup.c 2007-10-24 11:36:55.000000000 +1000
@@ -116,7 +116,7 @@ void (*mach_power_off)(void);
extern int _stext, _etext, _sdata, _edata, _sbss, _ebss, _end;
extern int _ramstart, _ramend;
-void setup_arch(char **cmdline_p)
+void __init setup_arch(char **cmdline_p)
{
int bootmap_size;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists