summaryrefslogtreecommitdiffstats
path: root/runtime/unwind
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-15 00:02:27 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-15 00:02:27 -0400
commit184b2d42207667089c20208d8c63c4fcb2d481aa (patch)
tree65108739c65327a3aebefa62be762c91371bb83e /runtime/unwind
parent7eb702bfb612c4c65b4d834ab3c1995e744a4945 (diff)
downloadsystemtap-steved-184b2d42207667089c20208d8c63c4fcb2d481aa.tar.gz
systemtap-steved-184b2d42207667089c20208d8c63c4fcb2d481aa.tar.xz
systemtap-steved-184b2d42207667089c20208d8c63c4fcb2d481aa.zip
unwinder build fix for STACK_{TOP,BOTTOM} macro name collisions
2008-04-15 Frank Ch. Eigler <fche@elastic.org> * unwind/i386.h (STACK_BOTTOM, STACK_TOP): Comment out these unused definitions, for they collide with some kernels (2.6.25-0.121.rc5.git4 rawhide).
Diffstat (limited to 'runtime/unwind')
-rw-r--r--runtime/unwind/i386.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/unwind/i386.h b/runtime/unwind/i386.h
index 1f69b4a9..6511f76a 100644
--- a/runtime/unwind/i386.h
+++ b/runtime/unwind/i386.h
@@ -38,8 +38,8 @@ struct unwind_frame_info
#define UNW_FP(frame) (frame)->regs.bp
#define FRAME_RETADDR_OFFSET 4
#define FRAME_LINK_OFFSET 0
-#define STACK_BOTTOM(tsk) STACK_LIMIT((tsk)->thread.sp0)
-#define STACK_TOP(tsk) ((tsk)->thread.sp0)
+/* #define STACK_BOTTOM(tsk) STACK_LIMIT((tsk)->thread.sp0) */
+/* #define STACK_TOP(tsk) ((tsk)->thread.sp0) */
#else
#define UNW_FP(frame) ((void)(frame), 0)
#endif
@@ -63,8 +63,8 @@ struct unwind_frame_info
#define UNW_FP(frame) (frame)->regs.ebp
#define FRAME_RETADDR_OFFSET 4
#define FRAME_LINK_OFFSET 0
-#define STACK_BOTTOM(tsk) STACK_LIMIT((tsk)->thread.esp0)
-#define STACK_TOP(tsk) ((tsk)->thread.esp0)
+/* #define STACK_BOTTOM(tsk) STACK_LIMIT((tsk)->thread.esp0) */
+/* #define STACK_TOP(tsk) ((tsk)->thread.esp0) */
#else
#define UNW_FP(frame) ((void)(frame), 0)
#endif