Re: [ACPI] Re: Linux 2.4.26-rc1 (cmpxchg vs 80386 build)
From: Len Brown
Date: Tue Mar 30 2004 - 12:50:42 EST
Sorry I didn't reply to this thread, after Alan wrote I figured
the topic was closed;-)
Yes, per my initial message, gcc _will_ generate cmpxchg for the 80386
build. Indeed, it has been doing so for over a year with ACPI's
previous private (and flawed) asm() invocation of cmpxchg.
Andi/Alan suggested we invoke cmpxchg always in ACPI,
but disable ACPI at boot-time in the unlikely event we find
ourselves running on a cpu without that instruction.
Luming has already taking a swing at this patch here:
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/