Re: [PATCH 0/4] amd64_edac: misc fixes
From: Andrew Morton
Date: Sat May 30 2009 - 04:41:35 EST
On Sat, 30 May 2009 10:19:54 +0200 Borislav Petkov <petkovbb@xxxxxxxxxxxxxx> wrote:
> Also, I've been thinking about how the old(er)
> toolchain problem can be addressed and one fairly doable thing would be
> if I'd query the gas version in the kernel Makefile and define popcnt
> dependent on it and for older assemblers simply slap in the opcode and
> fixate the operands in an inline assembly so that it works.
We've done that before. BUG() is one case (for other reasons), I think.
But if we have the code in there which uese the literal opcode, there's
no need to query gas or to add the conditional.
Is popcnt supported on all CPUs?
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/