Re: [PATCH 6/6] cpuid neatening.

From: H. Peter Anvin
Date: Mon Jul 24 2006 - 19:56:34 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/