linux-mips
[Top] [All Lists]

[PATCH] fpu enabling/disabling in ptrace.c

To: linux-mips@linux-mips.org
Subject: [PATCH] fpu enabling/disabling in ptrace.c
From: Jun Sun <jsun@mvista.com>
Date: Mon, 16 Sep 2002 14:27:45 -0700
Cc: jsun@mvista.com
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
I think the original intention is to enable FPU, read the
FPU id register and restore original FPU state.  Unfortnately
restore_flags() does not achieve it.

Following patch fixes that.  Applies to both 2.4 and 2.5 branch.

Jun

P.S., I am still waiting for comments or check-in of the following
patches:

020417.kgdb-compile-warning.patch
020722.malta-kgdb
020826.swarm-rtc-m41t81.patch

Attachment: 020916.ptrace.c-restore-fpu-state.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fpu enabling/disabling in ptrace.c, Jun Sun <=