Hello,

Does anybody know x86 assember?  The following code is in a kernel
source file, and GCC fails to build it, saying "invalid operands to
'mov'".  What's wrong with it?

- Neil

Code:

asm volatile ("movl %%fs,%0":"=m" (*(int *) &m.fs)); 
asm volatile ("movl %%gs,%0":"=m" (*(int *) &m.gs));

-- 
gentoo-user@gentoo.org mailing list

Reply via email to