Commit 23cbe308 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] ppc64: add missing EXPORT_SYMBOLS for oprofile

Add some missing exports, required for oprofile to be compiled as a module.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3c09bf53
...@@ -37,6 +37,8 @@ struct rtas_t rtas = { ...@@ -37,6 +37,8 @@ struct rtas_t rtas = {
.lock = SPIN_LOCK_UNLOCKED .lock = SPIN_LOCK_UNLOCKED
}; };
EXPORT_SYMBOL(rtas);
char rtas_err_buf[RTAS_ERROR_LOG_MAX]; char rtas_err_buf[RTAS_ERROR_LOG_MAX];
spinlock_t rtas_data_buf_lock = SPIN_LOCK_UNLOCKED; spinlock_t rtas_data_buf_lock = SPIN_LOCK_UNLOCKED;
......
...@@ -750,6 +750,8 @@ int smp_call_function (void (*func) (void *info), void *info, int nonatomic, ...@@ -750,6 +750,8 @@ int smp_call_function (void (*func) (void *info), void *info, int nonatomic,
return ret; return ret;
} }
EXPORT_SYMBOL(smp_call_function);
void smp_call_function_interrupt(void) void smp_call_function_interrupt(void)
{ {
void (*func) (void *info); void (*func) (void *info);
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <linux/percpu.h> #include <linux/percpu.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/module.h>
#include <asm/current.h> #include <asm/current.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/cputable.h> #include <asm/cputable.h>
...@@ -172,6 +173,8 @@ void ppc64_enable_pmcs(void) ...@@ -172,6 +173,8 @@ void ppc64_enable_pmcs(void)
} }
#endif #endif
EXPORT_SYMBOL(ppc64_enable_pmcs);
/* XXX convert to rusty's on_one_cpu */ /* XXX convert to rusty's on_one_cpu */
static unsigned long run_on_cpu(unsigned long cpu, static unsigned long run_on_cpu(unsigned long cpu,
unsigned long (*func)(unsigned long), unsigned long (*func)(unsigned long),
......
...@@ -533,6 +533,8 @@ static void dummy_perf(struct pt_regs *regs) ...@@ -533,6 +533,8 @@ static void dummy_perf(struct pt_regs *regs)
void (*perf_irq)(struct pt_regs *) = dummy_perf; void (*perf_irq)(struct pt_regs *) = dummy_perf;
EXPORT_SYMBOL(perf_irq);
void void
PerformanceMonitorException(struct pt_regs *regs) PerformanceMonitorException(struct pt_regs *regs)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment