aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/smp.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-10-11 12:40:22 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 14:17:07 -0400
commitcff52daffa080eff6353f44df418b080dacefb96 (patch)
tree57745a059733794b7e48dd45d459b0a97385fc67 /arch/alpha/kernel/smp.c
parent9ab6a45394715918b025f2d3b799477295af4cc0 (diff)
[PATCH] alpha_ksyms.c cleanup
taken exports to actual definitions of symbols being exported. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/alpha/kernel/smp.c')
-rw-r--r--arch/alpha/kernel/smp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c
index 596780e2c7da..d1ec4f51df1a 100644
--- a/arch/alpha/kernel/smp.c
+++ b/arch/alpha/kernel/smp.c
@@ -52,6 +52,7 @@
52 52
53/* A collection of per-processor data. */ 53/* A collection of per-processor data. */
54struct cpuinfo_alpha cpu_data[NR_CPUS]; 54struct cpuinfo_alpha cpu_data[NR_CPUS];
55EXPORT_SYMBOL(cpu_data);
55 56
56/* A collection of single bit ipi messages. */ 57/* A collection of single bit ipi messages. */
57static struct { 58static struct {
@@ -74,6 +75,7 @@ EXPORT_SYMBOL(cpu_online_map);
74 75
75int smp_num_probed; /* Internal processor count */ 76int smp_num_probed; /* Internal processor count */
76int smp_num_cpus = 1; /* Number that came online. */ 77int smp_num_cpus = 1; /* Number that came online. */
78EXPORT_SYMBOL(smp_num_cpus);
77 79
78extern void calibrate_delay(void); 80extern void calibrate_delay(void);
79 81
@@ -790,6 +792,7 @@ smp_call_function_on_cpu (void (*func) (void *info), void *info, int retry,
790 792
791 return 0; 793 return 0;
792} 794}
795EXPORT_SYMBOL(smp_call_function_on_cpu);
793 796
794int 797int
795smp_call_function (void (*func) (void *info), void *info, int retry, int wait) 798smp_call_function (void (*func) (void *info), void *info, int retry, int wait)
@@ -797,6 +800,7 @@ smp_call_function (void (*func) (void *info), void *info, int retry, int wait)
797 return smp_call_function_on_cpu (func, info, retry, wait, 800 return smp_call_function_on_cpu (func, info, retry, wait,
798 cpu_online_map); 801 cpu_online_map);
799} 802}
803EXPORT_SYMBOL(smp_call_function);
800 804
801static void 805static void
802ipi_imb(void *ignored) 806ipi_imb(void *ignored)
@@ -811,6 +815,7 @@ smp_imb(void)
811 if (on_each_cpu(ipi_imb, NULL, 1, 1)) 815 if (on_each_cpu(ipi_imb, NULL, 1, 1))
812 printk(KERN_CRIT "smp_imb: timed out\n"); 816 printk(KERN_CRIT "smp_imb: timed out\n");
813} 817}
818EXPORT_SYMBOL(smp_imb);
814 819
815static void 820static void
816ipi_flush_tlb_all(void *ignored) 821ipi_flush_tlb_all(void *ignored)
@@ -866,6 +871,7 @@ flush_tlb_mm(struct mm_struct *mm)
866 871
867 preempt_enable(); 872 preempt_enable();
868} 873}
874EXPORT_SYMBOL(flush_tlb_mm);
869 875
870struct flush_tlb_page_struct { 876struct flush_tlb_page_struct {
871 struct vm_area_struct *vma; 877 struct vm_area_struct *vma;
@@ -918,6 +924,7 @@ flush_tlb_page(struct vm_area_struct *vma, unsigned long addr)
918 924
919 preempt_enable(); 925 preempt_enable();
920} 926}
927EXPORT_SYMBOL(flush_tlb_page);
921 928
922void 929void
923flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) 930flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end)
@@ -925,6 +932,7 @@ flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long e
925 /* On the Alpha we always flush the whole user tlb. */ 932 /* On the Alpha we always flush the whole user tlb. */
926 flush_tlb_mm(vma->vm_mm); 933 flush_tlb_mm(vma->vm_mm);
927} 934}
935EXPORT_SYMBOL(flush_tlb_range);
928 936
929static void 937static void
930ipi_flush_icache_page(void *x) 938ipi_flush_icache_page(void *x)