From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [patch 0/6] remove non-functional code in ia64_leave_syscall
Date: Tue, 31 Jan 2006 10:16:48 +0000 [thread overview]
Message-ID: <200601311016.k0VAGvg19028@unix-os.sc.intel.com> (raw)
In syscall leave path, cr.ifs gets the value direct from the
cover instruction. We never want to restore cr.ifs from the
pt_regs. The setting of p9 in ia64_leave_syscall is spurious
and unnecessary. (in the later part, it is reset to 0). This
patch cleans up the code.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
--- ./arch/ia64/kernel/entry.S.orig 2006-01-31 02:44:56.406164880 -0800
+++ ./arch/ia64/kernel/entry.S 2006-01-31 03:08:49.949116069 -0800
@@ -739,7 +739,6 @@ ENTRY(ia64_leave_syscall)
;;
invala // M0|1 invalidate ALAT
rsm psr.i | psr.ic // M2 turn off interrupts and interruption collection
- cmp.eq p9,p0=r0,r0 // A set p9 to indicate that we should restore cr.ifs
ld8 r29=[r2],16 // M0|1 load cr.ipsr
ld8 r28=[r3],16 // M0|1 load cr.iip
reply other threads:[~2006-01-31 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200601311016.k0VAGvg19028@unix-os.sc.intel.com \
--to=kenneth.w.chen@intel.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