Skip to content

Commit 69f0678

Browse files
committed
alpha: Fix section mismatches
Signed-off-by: Matt Turner <mattst88@gmail.com>
1 parent 4f61e07 commit 69f0678

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/alpha/kernel/core_marvel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ marvel_init_io7(struct io7 *io7)
351351
}
352352
}
353353

354-
void
354+
void __init
355355
marvel_io7_present(gct6_node *node)
356356
{
357357
int pe;
@@ -406,7 +406,7 @@ marvel_find_console_vga_hose(void)
406406
#endif
407407
}
408408

409-
gct6_search_struct gct_wanted_node_list[] = {
409+
gct6_search_struct gct_wanted_node_list[] __initdata = {
410410
{ GCT_TYPE_HOSE, GCT_SUBTYPE_IO_PORT_MODULE, marvel_io7_present },
411411
{ 0, 0, NULL }
412412
};

arch/alpha/kernel/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ wait_boot_cpu_to_stop(int cpuid)
115115
/*
116116
* Where secondaries begin a life of C.
117117
*/
118-
void
118+
void __init
119119
smp_callin(void)
120120
{
121121
int cpuid = hard_smp_processor_id();

0 commit comments

Comments
 (0)