Linus Torvalds writes: (Summary) And the comment does seem
relevant for 32-bit too:
relevant for 32-bit too:
after the loadsegment() calls, which smells wrong.
That said, this *all* smells wrong. Why is there a special fix_processor_context() function at all with different 32-bit and 64-bit behavior? There's no logic to what is done where.
Linus
Linus
Linus
relevant for 32-bit too:
[...]
* and LDT, which happen in fix_processor_context(). You've moved down the 32-bit fix_processor_context() call to after the loadsegment() calls, which smells wrong.after the loadsegment() calls, which smells wrong.
That said, this *all* smells wrong. Why is there a special fix_processor_context() function at all with different 32-bit and 64-bit behavior? There's no logic to what is done where.
Linus
Linus
Linus