Forráskód Böngészése

[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>
Francois Wellenrieter 19 éve
szülő
commit
8a4b7b6f18
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      arch/ia64/kernel/mca_asm.S

+ 1 - 1
arch/ia64/kernel/mca_asm.S

@@ -847,7 +847,7 @@ ia64_state_restore:
 	;;
 	mov cr.iim=temp3
 	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
 	ld8 r8=[temp1]		// os_status
 	ld8 r10=[temp2]		// context