Skip to content

Commit 749da79

Browse files
Isaku Yamahataaegl
authored andcommitted
ia64/pv_ops: fix paravirtualization of ivt.S with CONFIG_SMP=n
When CONFIG_SMP=n, three instruction in ivt.S were missed to paravirtualize. paravirtualize them. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
1 parent 2e532d6 commit 749da79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/ia64/kernel/ivt.S‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ ENTRY(dirty_bit)
580580
mov b0=r29 // restore b0
581581
;;
582582
st8 [r17]=r18 // store back updated PTE
583-
itc.d r18 // install updated PTE
583+
ITC_D(p0, r18, r16) // install updated PTE
584584
#endif
585585
mov pr=r31,-1 // restore pr
586586
RFI
@@ -646,7 +646,7 @@ ENTRY(iaccess_bit)
646646
mov b0=r29 // restore b0
647647
;;
648648
st8 [r17]=r18 // store back updated PTE
649-
itc.i r18 // install updated PTE
649+
ITC_I(p0, r18, r16) // install updated PTE
650650
#endif /* !CONFIG_SMP */
651651
mov pr=r31,-1
652652
RFI
@@ -698,7 +698,7 @@ ENTRY(daccess_bit)
698698
or r18=_PAGE_A,r18 // set the accessed bit
699699
;;
700700
st8 [r17]=r18 // store back updated PTE
701-
itc.d r18 // install updated PTE
701+
ITC_D(p0, r18, r16) // install updated PTE
702702
#endif
703703
mov b0=r29 // restore b0
704704
mov pr=r31,-1

0 commit comments

Comments
 (0)