summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/sparc64_ksyms.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-28 02:26:55 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-04 09:17:09 -0800
commit3178a07c33747305b7f7140bd55b0f77e7f239eb (patch)
treee4860d742405a4b7d92d3df9e6f911fc057e8123 /arch/sparc64/kernel/sparc64_ksyms.c
parent6a5726dd6fcc330ef386016e160389e05fd0015d (diff)
downloadlinux-stable-3178a07c33747305b7f7140bd55b0f77e7f239eb.tar.gz
linux-stable-3178a07c33747305b7f7140bd55b0f77e7f239eb.tar.bz2
linux-stable-3178a07c33747305b7f7140bd55b0f77e7f239eb.zip
sparc64: Add performance counter hypervisor calls for sun4v.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/sparc64_ksyms.c')
-rw-r--r--arch/sparc64/kernel/sparc64_ksyms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c
index 30bba8b0a3b0..c450825b3fe5 100644
--- a/arch/sparc64/kernel/sparc64_ksyms.c
+++ b/arch/sparc64/kernel/sparc64_ksyms.c
@@ -49,6 +49,7 @@
#include <asm/timer.h>
#include <asm/cpudata.h>
#include <asm/ftrace.h>
+#include <asm/hypervisor.h>
struct poll {
int fd;
@@ -148,6 +149,11 @@ EXPORT_SYMBOL(flush_dcache_page);
EXPORT_SYMBOL(__flush_dcache_range);
#endif
+EXPORT_SYMBOL(sun4v_niagara_getperf);
+EXPORT_SYMBOL(sun4v_niagara_setperf);
+EXPORT_SYMBOL(sun4v_niagara2_getperf);
+EXPORT_SYMBOL(sun4v_niagara2_setperf);
+
#ifdef CONFIG_SUN_AUXIO
EXPORT_SYMBOL(auxio_set_led);
EXPORT_SYMBOL(auxio_set_lte);