Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > b0cbe0f49a5d77255d18d74997a8e96b > files > 5

systemtap-0.9.7-5.el5.src.rpm

From 05d50fb27ce62bc8226d2073fa7747f9d86cbc85 Mon Sep 17 00:00:00 2001
From: David Smith <dsmith@redhat.com>
Date: Mon, 18 May 2009 14:55:40 -0500
Subject: [PATCH] PR10171 workaround.
 * runtime/itrace.c: To avoid ia64 lockups, disable itrace on ia64.

---
 runtime/itrace.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/runtime/itrace.c b/runtime/itrace.c
index 1c8e8d8..3014f9e 100644
--- a/runtime/itrace.c
+++ b/runtime/itrace.c
@@ -20,6 +20,11 @@
 #include <linux/utrace.h>
 #include "ptrace_compatibility.h"
 
+/* PR10171: To avoid ia64 lockups, disable itrace on ia64. */
+#if defined(__ia64__)
+#error "Unsupported itrace architecture"
+#endif
+
 /* PR9974: Adapt to struct renaming. */
 #ifdef UTRACE_API_VERSION
 #define utrace_attached_engine utrace_engine
-- 
1.6.0.6