Skip to content

Commit

Permalink
[IA64] Don't alloc empty frame in ia64_switch_mode_phys
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
  • Loading branch information
zounanhai authored and aegl committed Aug 2, 2006
1 parent acb15c8 commit e55ce45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/ia64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit e55ce45

Please sign in to comment.