Re: asm (lidt) question

From: Davide Libenzi (davidel@xmailserver.org)
Date: Thu Jul 17 2003 - 18:36:42 EST


On Thu, 17 Jul 2003, Randy.Dunlap wrote:

> | Randy, I'd say that this :
> |
> | __asm__ __volatile__("lidt %0": "=m" (var));
> |
> | is better then :
> |
> | __asm__ __volatile__("lidt %0": :"m" (var));
> |
> | IMHO, since "var" is really an output parameter.
>
> Yes, I agree, var is output and should be listed after the first ':'
> IMHO also.

BF (Brain Farting) is contagious ;) I need a vacation, a long one (and you
too so maybe OSDL will hire someone else meanwhile :)

- Davide

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



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:31 EST