sh: Fix up section mismatches.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 6 Mar 2008 03:43:38 +0000 (12:43 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 6 Mar 2008 03:43:38 +0000 (12:43 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/init.c
arch/sh/kernel/io_trapped.c

index 80a31329ead9cfb05ff428a00755faefd1889568..75fb03d3567008e733748d2748366ab4fb3d1654 100644 (file)
@@ -233,7 +233,7 @@ static void __init dsp_init(void)
  * and cache configuration in detect_cpu_and_cache_system().
  */
 
-asmlinkage void __cpuinit sh_cpu_init(void)
+asmlinkage void __init sh_cpu_init(void)
 {
        current_thread_info()->cpu = hard_smp_processor_id();
 
index 86a665d92201ef67ca91349da2bf46d4717edf45..39cd7f3aec7bc34b2139a272c497b2bbf8141276 100644 (file)
@@ -32,7 +32,7 @@ EXPORT_SYMBOL_GPL(trapped_mem);
 #endif
 static DEFINE_SPINLOCK(trapped_lock);
 
-int __init register_trapped_io(struct trapped_io *tiop)
+int register_trapped_io(struct trapped_io *tiop)
 {
        struct resource *res;
        unsigned long len = 0, flags = 0;