Re: [PATCH 3/5] Make set_wrprotect() value safe

2005-08-24 Thread Chris Wright
* Zachary Amsden ([EMAIL PROTECTED]) wrote: > The macro set_wrprotect() should not be defined to have a value. Make it > a do {} while(0) instead of ({}). > Noticed by Chris Wright. I already fixed that one in the virt-2.6 git tree. thanks, -chris - To unsubscribe from this list: send the line "

[PATCH 3/5] Make set_wrprotect() value safe

2005-08-24 Thread Zachary Amsden
The macro set_wrprotect() should not be defined to have a value. Make it a do {} while(0) instead of ({}). Noticed by Chris Wright. Signed-off-by: Zachary Amsden <[EMAIL PROTECTED]> Patch-subject: Make set_wrprotect() value safe Index: linux-2.6.13/include/asm-generic/pgtable.h ==