Re: [PATCH] x86: simplify sync_test_bit()

From: Ingo Molnar
Date: Wed Mar 26 2008 - 03:27:42 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> Subject: x86: use macro parameters on sync_test_bit
>
> Using a naked parameterless macro could lead to other tokens being
> unexpectedly replaced.

> -#define sync_test_bit test_bit
> +#define sync_test_bit(nr, addr) test_bit(nr, addr)

thanks Jeremy, applied.

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