diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2006-03-12 09:08:26 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-03-22 16:54:38 -0800 |
commit | 914a4ea44169c8420d2767862755f34f76772819 (patch) | |
tree | 14777c470a640fd0713ea04d8b0da36803003b12 /arch/ia64 | |
parent | dae2806615c91cd7afa7c4dee65518435e45854a (diff) | |
download | linux-3.10-914a4ea44169c8420d2767862755f34f76772819.tar.gz linux-3.10-914a4ea44169c8420d2767862755f34f76772819.tar.bz2 linux-3.10-914a4ea44169c8420d2767862755f34f76772819.zip |
[IA64] add init declaration - gate page functions
Add init declaration to bunch of patch functions and gate
page setup function.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/patch.c | 8 | ||||
-rw-r--r-- | arch/ia64/mm/init.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/ia64/kernel/patch.c b/arch/ia64/kernel/patch.c index 6a4ac7d70b3..bc11bb096f5 100644 --- a/arch/ia64/kernel/patch.c +++ b/arch/ia64/kernel/patch.c @@ -115,7 +115,7 @@ ia64_patch_vtop (unsigned long start, unsigned long end) ia64_srlz_i(); } -void +void __init ia64_patch_mckinley_e9 (unsigned long start, unsigned long end) { static int first_time = 1; @@ -149,7 +149,7 @@ ia64_patch_mckinley_e9 (unsigned long start, unsigned long end) ia64_srlz_i(); } -static void +static void __init patch_fsyscall_table (unsigned long start, unsigned long end) { extern unsigned long fsyscall_table[NR_syscalls]; @@ -166,7 +166,7 @@ patch_fsyscall_table (unsigned long start, unsigned long end) ia64_srlz_i(); } -static void +static void __init patch_brl_fsys_bubble_down (unsigned long start, unsigned long end) { extern char fsys_bubble_down[]; @@ -184,7 +184,7 @@ patch_brl_fsys_bubble_down (unsigned long start, unsigned long end) ia64_srlz_i(); } -void +void __init ia64_patch_gate (void) { # define START(name) ((unsigned long) __start_gate_##name##_patchlist) diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 3748768c787..e3a10002d64 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c @@ -294,7 +294,7 @@ put_kernel_page (struct page *page, unsigned long address, pgprot_t pgprot) return page; } -static void +static void __init setup_gate (void) { struct page *page; |