From a63401b17c51a3ab162f41a22c8f93831112257c Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 1 Dec 2006 04:25:15 +0000 Subject: * thanks to riel and viro, cleared up task_struct vs thread_info misunderstanding --- tapsets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {"; -- cgit