Neil Hodges a écrit : > 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)); > > Could you post the content of the m data structure, including its type?
-- Pierre-Yves Rofes -- gentoo-user@gentoo.org mailing list