提交 b2839ed8 编写于 作者: P Paul Mundt

sh: Fix up section mismatches.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 8b03c040
...@@ -233,7 +233,7 @@ static void __init dsp_init(void) ...@@ -233,7 +233,7 @@ static void __init dsp_init(void)
* and cache configuration in detect_cpu_and_cache_system(). * 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(); current_thread_info()->cpu = hard_smp_processor_id();
......
...@@ -32,7 +32,7 @@ EXPORT_SYMBOL_GPL(trapped_mem); ...@@ -32,7 +32,7 @@ EXPORT_SYMBOL_GPL(trapped_mem);
#endif #endif
static DEFINE_SPINLOCK(trapped_lock); 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; struct resource *res;
unsigned long len = 0, flags = 0; unsigned long len = 0, flags = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册