mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 23:40:54 +07:00
[IA64] Removal of percpu TR cleanup in kexec code
The kexec code wasn't in the kernel when Ken Chen created
this patch (00b65985fb
) to
change the mapping of percpu area from a TR to a TC.
Zou Nanhai spotted this extra piece, and Simon Horman
concurred.
Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
0f7ac29e59
commit
9d1d4cc89f
@ -94,7 +94,7 @@ GLOBAL_ENTRY(relocate_new_kernel)
|
|||||||
4:
|
4:
|
||||||
srlz.i
|
srlz.i
|
||||||
;;
|
;;
|
||||||
//purge TR entry for kernel text and data
|
// purge TR entry for kernel text and data
|
||||||
movl r16=KERNEL_START
|
movl r16=KERNEL_START
|
||||||
mov r18=KERNEL_TR_PAGE_SHIFT<<2
|
mov r18=KERNEL_TR_PAGE_SHIFT<<2
|
||||||
;;
|
;;
|
||||||
@ -104,15 +104,6 @@ GLOBAL_ENTRY(relocate_new_kernel)
|
|||||||
srlz.i
|
srlz.i
|
||||||
;;
|
;;
|
||||||
|
|
||||||
// purge TR entry for percpu data
|
|
||||||
movl r16=PERCPU_ADDR
|
|
||||||
mov r18=PERCPU_PAGE_SHIFT<<2
|
|
||||||
;;
|
|
||||||
ptr.d r16,r18
|
|
||||||
;;
|
|
||||||
srlz.d
|
|
||||||
;;
|
|
||||||
|
|
||||||
// purge TR entry for pal code
|
// purge TR entry for pal code
|
||||||
mov r16=in3
|
mov r16=in3
|
||||||
mov r18=IA64_GRANULE_SHIFT<<2
|
mov r18=IA64_GRANULE_SHIFT<<2
|
||||||
|
Loading…
Reference in New Issue
Block a user