Print this page
vm: be careful about empty statements
*** 93,104 ****
#ifdef VM_STATS
#define VM_STAT_ADD(stat) (stat)++
#define VM_STAT_COND_ADD(cond, stat) ((void) (!(cond) || (stat)++))
#else
! #define VM_STAT_ADD(stat)
! #define VM_STAT_COND_ADD(cond, stat)
#endif /* VM_STATS */
#ifdef _KERNEL
/*
--- 93,104 ----
#ifdef VM_STATS
#define VM_STAT_ADD(stat) (stat)++
#define VM_STAT_COND_ADD(cond, stat) ((void) (!(cond) || (stat)++))
#else
! #define VM_STAT_ADD(stat) do { } while (0)
! #define VM_STAT_COND_ADD(cond, stat) do { } while (0)
#endif /* VM_STATS */
#ifdef _KERNEL
/*