Re: Regression: boot failure on AMD Elan TS-5500

From: H. Peter Anvin
Date: Mon Jun 30 2008 - 18:49:10 EST


Jeremy Fitzhardinge wrote:

On this general subject... I keep thinking that it would be better to have this as:

movl %cs, %eax
addl $8, %eax
movl %eax, %cs

What's your intent? You can't directly load %cs; do you mean the other segment registers?


Oh, you mean

mov %cs, %eax
add $8, %eax
mov %eax, %ds (etc)
?

Seems reasonable.


Uhm, yeah ;)

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/