]> sourceware.org Git - systemtap.git/commit
Correct testing for compat task. Always use our own test.
authorMark Wielaard <mjw@redhat.com>
Wed, 23 Jun 2010 19:47:53 +0000 (21:47 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 23 Jun 2010 19:47:53 +0000 (21:47 +0200)
commit94cbf48e332d87d85592cf774a45b5fa8e9ae027
treea6bd44b4cc08eb987602a13b636f22c3fc4fd839
parent6106e8837455c3e995feda23d16f6e59dabadc3f
Correct testing for compat task. Always use our own test.

is_compat_task(), when defined in the kernel, is really just for testing
whether or not we are in a 32-compat syscall. It does not definitely tell
us whether or not the current task is a 32bit compat task. So always use
our own test_thread_flag() with the arch specific TIF_flag.

* runtime/autoconf-is-compat-task.c: Removed.
* buildrun.cxx (compile_pass): Remove is-compat-task check.
* runtime/compatdefs.h: Detect s390 specific TIF flag. Always define
  _stp_is_compat_task() when CONFIG_COMPAT defined.
* tapset/conversions.stp (user_long): Use _stp_is_compat_task().
  (user_long_warn): Likewise.
buildrun.cxx
runtime/autoconf-is-compat-task.c [deleted file]
runtime/compatdefs.h
tapset/conversions.stp
This page took 0.029172 seconds and 5 git commands to generate.