diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2006-03-12 11:52:20 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-03-22 19:00:21 -0500 |
commit | 0881fc8df2e2bf1a7900a0ab3860109beb46fbab (patch) | |
tree | 0a7491ba7b94289a39b533a0ecd0d903b77595ac /arch/ia64/kernel/mca.c | |
parent | d903cea3811994d4c4122a0e3ca6d3a197e812e2 (diff) |
[IA64] add __init declaration to mca functions
Mark init related variable and functions with appropriate
__init* declaration to mca functions.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/mca.c')
-rw-r--r-- | arch/ia64/kernel/mca.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index b57e723f194c..cedcae713e9f 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
@@ -133,7 +133,7 @@ static int cpe_poll_enabled = 1; | |||
133 | 133 | ||
134 | extern void salinfo_log_wakeup(int type, u8 *buffer, u64 size, int irqsafe); | 134 | extern void salinfo_log_wakeup(int type, u8 *buffer, u64 size, int irqsafe); |
135 | 135 | ||
136 | static int mca_init; | 136 | static int mca_init __initdata; |
137 | 137 | ||
138 | 138 | ||
139 | static void inline | 139 | static void inline |
@@ -184,7 +184,7 @@ static ia64_state_log_t ia64_state_log[IA64_MAX_LOG_TYPES]; | |||
184 | * Inputs : info_type (SAL_INFO_TYPE_{MCA,INIT,CMC,CPE}) | 184 | * Inputs : info_type (SAL_INFO_TYPE_{MCA,INIT,CMC,CPE}) |
185 | * Outputs : None | 185 | * Outputs : None |
186 | */ | 186 | */ |
187 | static void | 187 | static void __init |
188 | ia64_log_init(int sal_info_type) | 188 | ia64_log_init(int sal_info_type) |
189 | { | 189 | { |
190 | u64 max_size = 0; | 190 | u64 max_size = 0; |
@@ -355,7 +355,7 @@ ia64_mca_cpe_int_handler (int cpe_irq, void *arg, struct pt_regs *ptregs) | |||
355 | * Outputs | 355 | * Outputs |
356 | * None | 356 | * None |
357 | */ | 357 | */ |
358 | static void | 358 | static void __init |
359 | ia64_mca_register_cpev (int cpev) | 359 | ia64_mca_register_cpev (int cpev) |
360 | { | 360 | { |
361 | /* Register the CPE interrupt vector with SAL */ | 361 | /* Register the CPE interrupt vector with SAL */ |
@@ -386,7 +386,7 @@ ia64_mca_register_cpev (int cpev) | |||
386 | * Outputs | 386 | * Outputs |
387 | * None | 387 | * None |
388 | */ | 388 | */ |
389 | void | 389 | void __cpuinit |
390 | ia64_mca_cmc_vector_setup (void) | 390 | ia64_mca_cmc_vector_setup (void) |
391 | { | 391 | { |
392 | cmcv_reg_t cmcv; | 392 | cmcv_reg_t cmcv; |
@@ -1443,7 +1443,7 @@ static struct irqaction mca_cpep_irqaction = { | |||
1443 | * format most of the fields. | 1443 | * format most of the fields. |
1444 | */ | 1444 | */ |
1445 | 1445 | ||
1446 | static void | 1446 | static void __cpuinit |
1447 | format_mca_init_stack(void *mca_data, unsigned long offset, | 1447 | format_mca_init_stack(void *mca_data, unsigned long offset, |
1448 | const char *type, int cpu) | 1448 | const char *type, int cpu) |
1449 | { | 1449 | { |
@@ -1467,7 +1467,7 @@ format_mca_init_stack(void *mca_data, unsigned long offset, | |||
1467 | 1467 | ||
1468 | /* Do per-CPU MCA-related initialization. */ | 1468 | /* Do per-CPU MCA-related initialization. */ |
1469 | 1469 | ||
1470 | void __devinit | 1470 | void __cpuinit |
1471 | ia64_mca_cpu_init(void *cpu_data) | 1471 | ia64_mca_cpu_init(void *cpu_data) |
1472 | { | 1472 | { |
1473 | void *pal_vaddr; | 1473 | void *pal_vaddr; |