]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] add init declaration - gate page functions
authorChen, Kenneth W <kenneth.w.chen@intel.com>
Sun, 12 Mar 2006 17:08:26 +0000 (09:08 -0800)
committerTony Luck <tony.luck@intel.com>
Thu, 23 Mar 2006 00:54:38 +0000 (16:54 -0800)
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>
arch/ia64/kernel/patch.c
arch/ia64/mm/init.c

index 6a4ac7d70b357e34901faec54e77009d9d9cd505..bc11bb096f584735fe8220c3f30c9063e9b4a8c2 100644 (file)
@@ -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)
index 3748768c787b3fc65125d38f1f90e1faa4df5875..e3a10002d640ef347efd8a806cfafcf101f65626 100644 (file)
@@ -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;