Messages in this thread | | | Date | Mon, 24 Jul 2006 16:58:07 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 6/6] cpuid neatening. |
| |
Rusty Russell wrote: > Roll all the cpuid asm into one __cpuid call. It's a little neater, > and also means only one place to patch for paravirtualization.
The whole point of those is to avoid the unnecessary write to memory and pick it back up again. This patch reintroduces that ugliness.
You don't want to make it the obvious multi-return macro, either, because that code is known to break some old versions of gcc.
-hpa - 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/
| |