CONFIG_OPROFILE=m doesn't work on ppc64 if these aren't exported...
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
--- linux-2.6.11/arch/ppc64/kernel/pmc.c.orig 2005-03-31 20:31:07.000000000 +0100
+++ linux-2.6.11/arch/ppc64/kernel/pmc.c 2005-03-31 20:30:15.000000000 +0100
@@ -12,6 +12,7 @@
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
+#include <linux/module.h>
#include <asm/processor.h>
#include <asm/pmc.h>
@@ -50,6 +51,7 @@ int reserve_pmc_hardware(perf_irq_t new_
spin_unlock(&pmc_owner_lock);
return err;
}
+EXPORT_SYMBOL_GPL(reserve_pmc_hardware);
void release_pmc_hardware(void)
{
@@ -62,3 +64,4 @@ void release_pmc_hardware(void)
spin_unlock(&pmc_owner_lock);
}
+EXPORT_SYMBOL_GPL(release_pmc_hardware);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]