diff --git a/[refs] b/[refs] index 242144c3301f..69b5f5c9eaf6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c073b2db006ba9370be1eecc36a1be1d9ce31310 +refs/heads/master: ac7b9004909d03d67016368093e81d37cae72895 diff --git a/trunk/include/linux/kernel.h b/trunk/include/linux/kernel.h index 343df9ef2412..7fa371898e3e 100644 --- a/trunk/include/linux/kernel.h +++ b/trunk/include/linux/kernel.h @@ -480,7 +480,8 @@ static inline char *pack_hex_byte(char *buf, u8 byte) /* * swap - swap value of @a and @b */ -#define swap(a, b) ({ typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; }) +#define swap(a, b) \ + do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0) /** * container_of - cast a member of a structure out to the containing structure