public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/6] remove non-functional code in ia64_leave_syscall
@ 2006-01-31 10:16 Chen, Kenneth W
  0 siblings, 0 replies; only message in thread
From: Chen, Kenneth W @ 2006-01-31 10:16 UTC (permalink / raw)
  To: linux-ia64

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-31 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-31 10:16 [patch 0/6] remove non-functional code in ia64_leave_syscall Chen, Kenneth W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox