diff options
Diffstat (limited to 'arch/alpha/kernel/smp.c')
-rw-r--r-- | arch/alpha/kernel/smp.c | 8 |
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. */ |
54 | struct cpuinfo_alpha cpu_data[NR_CPUS]; | 54 | struct cpuinfo_alpha cpu_data[NR_CPUS]; |
55 | EXPORT_SYMBOL(cpu_data); | ||
55 | 56 | ||
56 | /* A collection of single bit ipi messages. */ | 57 | /* A collection of single bit ipi messages. */ |
57 | static struct { | 58 | static struct { |
@@ -74,6 +75,7 @@ EXPORT_SYMBOL(cpu_online_map); | |||
74 | 75 | ||
75 | int smp_num_probed; /* Internal processor count */ | 76 | int smp_num_probed; /* Internal processor count */ |
76 | int smp_num_cpus = 1; /* Number that came online. */ | 77 | int smp_num_cpus = 1; /* Number that came online. */ |
78 | EXPORT_SYMBOL(smp_num_cpus); | ||
77 | 79 | ||
78 | extern void calibrate_delay(void); | 80 | extern 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 | } |
795 | EXPORT_SYMBOL(smp_call_function_on_cpu); | ||
793 | 796 | ||
794 | int | 797 | int |
795 | smp_call_function (void (*func) (void *info), void *info, int retry, int wait) | 798 | smp_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 | } |
803 | EXPORT_SYMBOL(smp_call_function); | ||
800 | 804 | ||
801 | static void | 805 | static void |
802 | ipi_imb(void *ignored) | 806 | ipi_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 | } |
818 | EXPORT_SYMBOL(smp_imb); | ||
814 | 819 | ||
815 | static void | 820 | static void |
816 | ipi_flush_tlb_all(void *ignored) | 821 | ipi_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 | } |
874 | EXPORT_SYMBOL(flush_tlb_mm); | ||
869 | 875 | ||
870 | struct flush_tlb_page_struct { | 876 | struct 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 | } |
927 | EXPORT_SYMBOL(flush_tlb_page); | ||
921 | 928 | ||
922 | void | 929 | void |
923 | flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) | 930 | flush_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 | } |
935 | EXPORT_SYMBOL(flush_tlb_range); | ||
928 | 936 | ||
929 | static void | 937 | static void |
930 | ipi_flush_icache_page(void *x) | 938 | ipi_flush_icache_page(void *x) |