[IA64] Fix conversion of pal_min_state physical address

On return from INIT handler we must convert the address of the
minstate area from a kernel virtual uncached address (0xC...)
to physical uncached (0x8...).  A typo (or thinko?) in the code
converted to physical cached.

Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
Francois Wellenrieter 2006-01-13 14:01:01 -08:00 committed by Tony Luck
parent 9335d48e10
commit 8a4b7b6f18

View File

@ -847,7 +847,7 @@ ia64_state_restore:
;; ;;
mov cr.iim=temp3 mov cr.iim=temp3
mov cr.iha=temp4 mov cr.iha=temp4
dep r22=0,r22,62,2 // pal_min_state, physical, uncached dep r22=0,r22,62,1 // pal_min_state, physical, uncached
mov IA64_KR(CURRENT)=r21 mov IA64_KR(CURRENT)=r21
ld8 r8=[temp1] // os_status ld8 r8=[temp1] // os_status
ld8 r10=[temp2] // context ld8 r10=[temp2] // context