summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-12-01 04:25:15 +0000
committerfche <fche>2006-12-01 04:25:15 +0000
commita63401b17c51a3ab162f41a22c8f93831112257c (patch)
tree3f67f5c7f419e550bff97b605ac6d749e099a349 /tapsets.cxx
parentd05a1d002e625b460bd3d0023163564b0e0bb26d (diff)
downloadsystemtap-steved-a63401b17c51a3ab162f41a22c8f93831112257c.tar.gz
systemtap-steved-a63401b17c51a3ab162f41a22c8f93831112257c.tar.xz
systemtap-steved-a63401b17c51a3ab162f41a22c8f93831112257c.zip
* thanks to riel and viro, cleared up task_struct vs thread_info misunderstanding
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index fb24e4d8..8bce8cd8 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -177,7 +177,7 @@ common_probe_entryfn_prologue (translator_output* o, string statestr)
// Check for enough free enough stack space
o->newline() << "if (unlikely ((((unsigned long) (& c)) & (THREAD_SIZE-1))"; // free space
- o->newline(1) << "< (MINSTACKSPACE + sizeof (struct task_struct)))) {"; // needed space
+ o->newline(1) << "< (MINSTACKSPACE + sizeof (struct thread_info)))) {"; // needed space
// XXX: may need porting to platforms where task_struct is not at bottom of kernel stack
// NB: see also CONFIG_DEBUG_STACKOVERFLOW
o->newline() << "if (unlikely (atomic_inc_return (& skipped_count) > MAXSKIPPED)) {";