summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-04-02 17:41:20 -0400
committerWilliam Cohen <wcohen@redhat.com>2009-04-02 17:41:20 -0400
commit093421c6ba933754aa52cf6399aae5b8f86d86d9 (patch)
treec17822d7160dccb769c169b028809351a0f7d19b
parent35ca8082a77e00173c94fe5fdcbd013b111033f2 (diff)
downloadsystemtap-steved-093421c6ba933754aa52cf6399aae5b8f86d86d9.tar.gz
systemtap-steved-093421c6ba933754aa52cf6399aae5b8f86d86d9.tar.xz
systemtap-steved-093421c6ba933754aa52cf6399aae5b8f86d86d9.zip
Reorder includes so regs.c and regs-ia64.c included before task_finder.c.
-rw-r--r--runtime/runtime.h2
-rw-r--r--translate.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 822562a2..0a656b78 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -86,6 +86,8 @@ static struct
#include "io.c"
#include "arith.c"
#include "copy.c"
+#include "regs.c"
+#include "regs-ia64.c"
#include "task_finder.c"
diff --git a/translate.cxx b/translate.cxx
index 9085349e..cab37487 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4967,9 +4967,7 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#define STP_PERFMON";
s.op->newline() << "#include \"runtime.h\"";
- s.op->newline() << "#include \"regs.c\"";
s.op->newline() << "#include \"stack.c\"";
- s.op->newline() << "#include \"regs-ia64.c\"";
s.op->newline() << "#include \"stat.c\"";
s.op->newline() << "#include <linux/string.h>";
s.op->newline() << "#include <linux/timer.h>";