switch_to function

Hua Jiang (speaklst2@yeah.net)
Mon, 6 Dec 1999 10:04:39 +0800


I read linux kernel 2.2.13 source code,and found that in the file
'arch/i386/kernel/process.c',the switch_to function use inline asm 'ltr' to
load task register,which I thought could be loaded automatically when the
asm code such as 'iretd','ljmp' or 'call' is executed. anyone knows why it
still use 'ltr' there?

best regards

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