diff options
author | Linus Torvalds <torvalds@evo.osdl.org> | 2005-07-22 15:23:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-07-22 15:23:47 -0400 |
commit | b339a18b81a1f6ca1455559594f5df872b9e59f4 (patch) | |
tree | 1c3a34047734e5923484353dbe710b167ad7c72b /include/asm-i386 | |
parent | f60f700876cd51de9de69f3a3c865d95e287a24d (diff) |
Fix up incorrect "unlikely()" on %gs reload in x86 __switch_to
These days %gs is normally the TLS segment, so it's no longer zero. As
a result, we shouldn't just assume that %fs/%gs tend to be zero
together, but test them independently instead.
Also, fix setting of debug registers to use the "next" pointer instead
of "current". It so happens that the scheduler will have set the new
current pointer before calling __switch_to(), but that's just an
implementation detail.
Diffstat (limited to 'include/asm-i386')
0 files changed, 0 insertions, 0 deletions