Re: >Re: [RFC] should VM_BUG_ON(cond) really evaluate cond
From: Andi Kleen <hidden>
Date: 2011-10-30 09:59:23
Also in:
lkml
From: Andi Kleen <hidden>
Date: 2011-10-30 09:59:23
Also in:
lkml
+#define ACCESS_AT_MOST_ONCE(x) \
+ ({ unsigned long __y; \why not typeof here?
+ asm("":"=r" (__y):"0" (x)); \
+ (__force __typeof__(x)) __y; \
+ })
+-Andi