提交 8c29890a 编写于 作者: A Al Viro 提交者: Linus Torvalds

sparc64 trivial section misannotations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 409832f5
...@@ -282,7 +282,7 @@ static unsigned long kimage_addr_to_ra(void *p) ...@@ -282,7 +282,7 @@ static unsigned long kimage_addr_to_ra(void *p)
return kern_base + (val - KERNBASE); return kern_base + (val - KERNBASE);
} }
static void ldom_startcpu_cpuid(unsigned int cpu, unsigned long thread_reg) static void __cpuinit ldom_startcpu_cpuid(unsigned int cpu, unsigned long thread_reg)
{ {
extern unsigned long sparc64_ttable_tl0; extern unsigned long sparc64_ttable_tl0;
extern unsigned long kern_locked_tte_data; extern unsigned long kern_locked_tte_data;
...@@ -343,7 +343,7 @@ extern unsigned long sparc64_cpu_startup; ...@@ -343,7 +343,7 @@ extern unsigned long sparc64_cpu_startup;
*/ */
static struct thread_info *cpu_new_thread = NULL; static struct thread_info *cpu_new_thread = NULL;
static int __devinit smp_boot_one_cpu(unsigned int cpu) static int __cpuinit smp_boot_one_cpu(unsigned int cpu)
{ {
struct trap_per_cpu *tb = &trap_block[cpu]; struct trap_per_cpu *tb = &trap_block[cpu];
unsigned long entry = unsigned long entry =
......
...@@ -956,7 +956,7 @@ int of_node_to_nid(struct device_node *dp) ...@@ -956,7 +956,7 @@ int of_node_to_nid(struct device_node *dp)
return nid; return nid;
} }
static void add_node_ranges(void) static void __init add_node_ranges(void)
{ {
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册