Re: [ACPI] ACPI global lock macros

From: Paul Menage
Date: Tue Dec 09 2003 - 13:50:26 EST


Grover, Andrew wrote:

BTW, i386, x86_64 and ia64 all have this macro, so these all might need
to be looked at.


Yes, it was the differences between the i386 and x86_64 versions that made me notice this problem. The ia64 version is in C, so looks safer. Ideally there would be a common C definition - the only arch-specific part should be the locked cmpxchg, unless this lock is likely to be taken/released so often that it's performance critical.

Paul

-
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/