Re: >Re: [RFC] should VM_BUG_ON(cond) really evaluate cond

Andi Kleen
2011-10-30T09:59:23Z

> +#define ACCESS_AT_MOST_ONCE(x) \
> + ({ unsigned long __y; \

why not typeof here?

> + asm("":"=r" (__y):"0" (x)); \
> + (__force __typeof__(x)) __y; \
> + })
> +

-Andi