Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e635c96e authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Kyle McMartin
Browse files

[PARISC] Explicitly specify sr4 when flushing kernel space



Specify sr4 when flushing kernel space (we could equally well use sr5-7,
but must not use sr0).

Signed-off-by: default avatarMatthew Wilcox <willy@parisc-linux.org>

Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent 9b3b331d
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -949,23 +949,23 @@ flush_kernel_icache_page:
	sub		%r25, %r23, %r25


1:      fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
	fic,m		%r23(%r26)
1:      fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	fic,m		%r23(%sr4, %r26)
	CMPB<<		%r26, %r25, 1b
	fic,m		%r23(%r26)
	fic,m		%r23(%sr4, %r26)

	sync
	bv		%r0(%r2)
@@ -987,7 +987,7 @@ flush_kernel_icache_range_asm:
	ANDCM		%r26, %r21, %r26

1:      CMPB<<,n	%r26, %r25, 1b
	fic,m		%r23(%r26)
	fic,m		%r23(%sr4, %r26)

	sync
	bv		%r0(%r2)