public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jose Luu" <jluu@mainsoft.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] patch ia32 mode [Threads don't wake up in ia32 mode]
Date: Thu, 26 Jul 2001 17:34:47 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005927@msgid-missing> (raw)

This is the solution to the problem I described in june,

see test case there:
https://external-lists.valinux.com/archives//linux-ia64/2001-June/001792.htm
l

There was an oversight on the size of the long, which caused an improper
restoration of the real time signals blocking mask of the 32 bit frame, 2 of
these signals are used by the pthreads library for wakeup or cancellation.

This patch can be applied to all 2.4.x series kernels including 2.4.7, since
the file has not changed.

Jose


--- 2.4.5/arch/ia64/ia32/ia32_signal.c  Tue Oct 10 02:54:53 2000
+++ new-2.4.5/arch/ia64/ia32/ia32_signal.c      Thu Jul 26 12:49:42 2001
@@ -279,7 +279,7 @@
        err |= setup_sigcontext_ia32(&frame->sc, &frame->fpstate, regs,
set->sig[0]);

        if (_IA32_NSIG_WORDS > 1) {
-               err |= __copy_to_user(frame->extramask, &set->sig[1],
+               err |= __copy_to_user(frame->extramask,(((char *) &set->sig)
+ 4) ,
                                      sizeof(frame->extramask));
        }




             reply	other threads:[~2001-07-26 17:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-26 17:34 Jose Luu [this message]
2001-07-31  1:28 ` [Linux-ia64] patch ia32 mode [Threads don't wake up in ia32 mode] David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590693005927@msgid-missing \
    --to=jluu@mainsoft.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox