summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorhien <hien>2005-11-04 17:07:52 +0000
committerhien <hien>2005-11-04 17:07:52 +0000
commitbd0cd8e222e3688f68d1ad0a1402ce6524f9a99e (patch)
tree559c49e7dcb2d15604801b6a11b807f569b78918 /runtime/runtime.h
parentdef7de11bc47156f9a07a6b4785b00981c0a1189 (diff)
downloadsystemtap-steved-bd0cd8e222e3688f68d1ad0a1402ce6524f9a99e.tar.gz
systemtap-steved-bd0cd8e222e3688f68d1ad0a1402ce6524f9a99e.tar.xz
systemtap-steved-bd0cd8e222e3688f68d1ad0a1402ce6524f9a99e.zip
Remove validate_sp() dependency, therefore don't need CONFIG_KALLSYMS_ALL anymore
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index f226358f..7bdddb45 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -1,5 +1,4 @@
-/* -*- linux-c -*-
- * main header file
+/* main header file
* Copyright (C) 2005 Red Hat Inc.
* Copyright (C) 2005 Intel Corporation.
*
@@ -71,10 +70,6 @@ static const char * (*_stp_kallsyms_lookup)(unsigned long addr,
unsigned long *symbolsize,
unsigned long *offset,
char **modname, char *namebuf);
-#if defined (__powerpc64__)
-static int (*_stp_validate_sp)(unsigned long sp, struct task_struct *p,
- unsigned long nbytes);
-#endif
/* TEST_MODE is always defined by systemtap */
#ifdef TEST_MODE
@@ -146,11 +141,6 @@ int init_module (void)
*/
_stp_kta = (int (*)(unsigned long))kallsyms_lookup_name("__kernel_text_address");
-#if defined (__powerpc64__)
-_stp_validate_sp = (int (*)(unsigned long, struct task_struct *,
- unsigned long)) kallsyms_lookup_name("validate_sp");
-#endif
-
#ifdef SYSTEMTAP
if (stap_num_symbols > 0)
_stp_kallsyms_lookup = & _stp_kallsyms_lookup_tabled;