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

Commit 4c1f59d8 authored by Christian Volkmann's avatar Christian Volkmann Committed by Linus Torvalds
Browse files

i386: Fix wrong CPU error message in early boot path



- boot/setup.S did not print "PANIC: CPU too old for this kernel"
  ( not visible, also the message did not match )
- I add "# missed before: set ds"
  => somebody should check if I am right with the way to set.
  => seems to be a generic error in setup.S not to set "ds" for error messages.

AK: extracted patch out of other changes
AK: also couldn't find any other case where ds is wrong
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c12ceb76
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -310,6 +310,8 @@ loader_ok:
	call verify_cpu
	call verify_cpu
	testl  %eax,%eax
	testl  %eax,%eax
	jz	cpu_ok
	jz	cpu_ok
	movw	%cs,%ax		# aka SETUPSEG
	movw	%ax,%ds
	lea	cpu_panic_mess,%si
	lea	cpu_panic_mess,%si
	call	prtstr
	call	prtstr
1:	jmp	1b
1:	jmp	1b