RE: write_unlock: replace clear_bit with byte store

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2005-04-29 09:55:52
Christoph Lameter wrote on Thursday, April 28, 2005 3:52 PM
> +static inline void _raw_write_unlock(rwlock_t *x) {
> +	u8 *y = (u8 *)x;
> +	barrier();
> +	asm volatile ("st1.rel.nta [%0] = r0\n\t" :: "r"(y+3) : "memory" ); }

Perhaps you should make this code icc friendly by not using asm directly.
Intel compiler doesn't support asm statement.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Apr 28 19:56:17 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST