diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2006-03-12 09:00:13 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-03-22 16:04:37 -0800 |
commit | 244fd54540806a5e3391d117794105a35815cbb2 (patch) | |
tree | e427295b636fdd40325c184898f1cb23eed0c102 /arch/ia64/mm | |
parent | 0881fc8df2e2bf1a7900a0ab3860109beb46fbab (diff) | |
download | op-kernel-dev-244fd54540806a5e3391d117794105a35815cbb2.zip op-kernel-dev-244fd54540806a5e3391d117794105a35815cbb2.tar.gz |
[IA64] add init declaration to cpu initialization functions
Add init declaration to cpu initialization 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/mm')
-rw-r--r-- | arch/ia64/mm/contig.c | 2 | ||||
-rw-r--r-- | arch/ia64/mm/discontig.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c index 9855ba3..8abb9e8 100644 --- a/arch/ia64/mm/contig.c +++ b/arch/ia64/mm/contig.c @@ -176,7 +176,7 @@ find_memory (void) * * Allocate and setup per-cpu data areas. */ -void * +void * __cpuinit per_cpu_init (void) { void *cpu_data; diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c index 573d5cc..2f5e448 100644 --- a/arch/ia64/mm/discontig.c +++ b/arch/ia64/mm/discontig.c @@ -525,7 +525,7 @@ void __init find_memory(void) * find_pernode_space() does most of this already, we just need to set * local_per_cpu_offset */ -void *per_cpu_init(void) +void __cpuinit *per_cpu_init(void) { int cpu; static int first_time = 1; |