public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Zou Nan hai <nanhai.zou@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [Patch] Don't alloc empty frame in ia64_switch_mode_phys
Date: Tue, 25 Jul 2006 23:36:40 +0000	[thread overview]
Message-ID: <1153870600.3286.72.camel@linux-znh> (raw)


I think ia64_switch_mode_phys and ia64_switch_mode_virt 
does not need to alloc an empty frame. 
An empty frame is required by loadrs but flushrs 
does not need that.

Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>

--- linux-2.6.18-rc2/arch/ia64/kernel/head.S	2006-07-26 11:30:08.000000000 +0800
+++ linux-2.6.18-rc2-fix/arch/ia64/kernel/head.S	2006-07-26 12:26:00.000000000 +0800
@@ -853,7 +853,6 @@ END(__ia64_init_fpu)
  */
 GLOBAL_ENTRY(ia64_switch_mode_phys)
  {
-	alloc r2=ar.pfs,0,0,0,0
 	rsm psr.i | psr.ic		// disable interrupts and interrupt collection
 	mov r15=ip
  }
@@ -902,7 +901,6 @@ END(ia64_switch_mode_phys)
  */
 GLOBAL_ENTRY(ia64_switch_mode_virt)
  {
-	alloc r2=ar.pfs,0,0,0,0
 	rsm psr.i | psr.ic		// disable interrupts and interrupt collection
 	mov r15=ip
  }





             reply	other threads:[~2006-07-25 23:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25 23:36 Zou Nan hai [this message]
2006-07-26 15:33 ` [Patch] Don't alloc empty frame in ia64_switch_mode_phys Chen, Kenneth W
2006-07-26 21:08 ` Zou Nan hai

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=1153870600.3286.72.camel@linux-znh \
    --to=nanhai.zou@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